The RELSE macro immediately releases the current input buffer. The next GET macro retrieves the first record from the next input buffer. For variable-length spanned records (QSAM), the input data set is spaced to the next segment that starts a logical record in a following block. Thus, one or more blocks of data or records might be skipped. The RELSE macro is ignored if a buffer has just been completed or released, if the records are unblocked, if it is issued for a SYSIN data set, or if it is issued for a UNIX file.
You can issue RELSE for QSAM in 24-bit mode or in 31-bit mode, but QISAM interface to VSAM requires 24-bit mode.
The format of the RELSE macro is:
[label] | RELSE | dcb address |
---|