RELEX—Release exclusive control (BDAM)

The RELEX macro releases a data block from exclusive control. The block must have been requested in an earlier READ macro that specified either DIX or DKX.

Note: You can also use a WRITE macro that specifies either DIX or DKX to release exclusive control.

The RELEX macro may be issued in 24- or 31-bit addressing mode. When issued in 31-bit addressing mode, all addresses must be valid 31-bit addresses.

When the RELEX macro is issued in 31-bit addressing mode, the caller must ensure that the address of the input block reference field is a valid 31-bit address. It may reside above or below the line.

The format of the RELEX macro is:

D
specifies direct access.
dcb address—RX-Type Address, (2-12), or (1)
specifies the address of the data control block for a direct data set opened for processing. The parameter must specify the same data control block designated in the associated READ macro.
block address—RX-Type Address, (2-12), or (0)
specifies the address of the area containing the relative block address, relative track address, or actual device address of the data block being released. The parameter must specify the same area designated in the block address of the associated READ macro.