Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example 11: marking records inactive (ESDS) z/OS DFSMS Macro Instructions for Data Sets SC23-6852-02 |
|
In this example, GET and PUT macros retrieve a record from an entry-sequenced
data set and mark it as inactive by putting a hexadecimal X'FF' in
the first byte of a record. The inactive record can only be sequentially
retrieved for update.
Decide whether you still
want the data in the record.
You cannot delete an entry-sequenced data set record. You can mark an ESDS record inactive by placing a unique flag in a conventional part of the record so that when the record is subsequently retrieved, the flag causes the record to be bypassed. To reuse the space occupied by an inactive ESDS record, retrieve it for update and store a new record in its place. |
Copyright IBM Corporation 1990, 2014
|