SAVE DATASET

Saves the schema and data of a DataSet to an XML file.

Syntax:

>>--EXEC ADO--.-------------------.—SAVE--DATASET------> 
              +-USING dataset_name+  

 >---TO----xml_file_spec--------------------EXEC-END---><

Parameters:

dataset_name The DataSet reference to be used. If you do not specify dataset_name, the current DataSet is used.
xml_file_spec A file to contain the XML file that represents the DataSet.

Example:

     EXEC ADO 
        SAVE DATASET TO "c:\work\adotests\net_order_status.xml" 
     END-EXEC