Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example 7: addressed-direct retrieval (ESDS, KSDS) z/OS DFSMS Macro Instructions for Data Sets SC23-6852-02 |
|
In this example, a GET macro is used to retrieve fixed-length 20-byte
records. The records are to be moved to a work area.
The RBA provided for a search argument must match the RBA of a record. Keyed insertion and deletion of records in a key-sequenced data set will probably cause the RBAs of some records to change. Therefore, if you process a key-sequenced data set by addressed-direct access (or by addressed-sequential access using POINT), you need to keep track of changes. You can use the JRNAD exit for this purpose. See EXLST—Generate an exit list at assembly time. |
Copyright IBM Corporation 1990, 2014
|