INITIALIZE DATASET

Creates an empty DataSet for a previously declared one and optionally stores a reference to that DataSet.

Syntax:

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

 >---.-------------------------.-----------EXEC-END---------><
     +-RETURNING :dataset_hv---+

Parameters:

dataset_name The DataSet to be created.
dataset_hv Host variable where the DataSet object is placed.

Example:

     EXEC ADO
        INITIALIZE DATASET
     END-EXEC