Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example 2: recording RBAs when loading a KSDS z/OS DFSMS Macro Instructions for Data Sets SC23-6852-02 |
|
In this example, a PUT macro is used to record the RBAs of records
as they are loaded into a key-sequenced data set. The RBAs are recorded
in a table with 20-byte entries (4 bytes for RBA, 15 bytes for associated
key, and 1 byte of padding so the next entry begins on a fullword
boundary).
The need to process a key-sequenced data set by address is unusual, but by recording the RBA of each record in a key-sequenced data set, you have search arguments for possible processing of the data set by addressed-direct retrieval and by addressed-sequential retrieval using the POINT macro. (You do not need to know RBAs to process a key-sequenced data set by simple addressed-sequential retrieval, since you go from the beginning without any skips.) You can display the RBA of a record after you issue a GET or a POINT, as well as after you issue a PUT. |
Copyright IBM Corporation 1990, 2014
|