RELSE—Release an input buffer (QISAM interface to VSAM and QSAM input)

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:

dcb address—RX-Type Address, (2-12), or (1)
specifies the address of the data control block for the opened input data set. When issued in 31-bit addressing mode, the input DCB address must be a clean 31-bit address.