Use the PUT macro to write (load) records to an empty data set, and insert or update records into an existing data set.
To do a PUT UPD you must first do a GET UPD for the record.
The format of the PUT macro is:
[label] |
PUT |
RPL=address |
---|
Rule: If the PUT macro is used to load records into an empty data set, the STRNO value in the access method control block must be 1, and RPL OPTCD=DIR must not be specified. However, for an empty RRDS, DIR is allowed.