Creates a new DataSet containing only DataRows that have been modified (deleted, added or changed).
Syntax:
>>-EXEC ADO-.--------------------.-GET CHANGES INTO— :dataset_hv---->
+-USING dataset_name-+
>--END-EXEC----><
Parameters:
dataset_name
|
The DataSet reference to be used. If you do not specify
dataset_name, the current DataSet is used.
|
dataset_hv
|
Host variable where the DataSet object is placed. This DataSet only contains changed data from the source DataSet.
|
Example:
EXEC ADO
GET CHANGES INTO :changesDSobj
END-EXEC
Comment:
Because the resultant DataSet only contains change information, it can be used (rather than the entire DataSet) to minimize network traffic when updating a data source.