FREEBUF—Return a buffer to a pool (BDAM, BISAM, BPAM, and BSAM)

The FREEBUF macro causes the system to return a buffer to the buffer pool assigned to the specified data control block. The buffer must have been acquired using a GETBUF macro.

The FREEBUF 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. FREEBUF does not support buffers above the line.

The format of the FREEBUF macro is:

dcb address—RX-Type Address, (2-12), or (1)
specifies the address of the data control block for an opened data set to which the buffer pool has been assigned. When issued in 31-bit addressing mode, the input DCB address and buffer address must be clean 31-bit addresses.
register—(2-12)
specifies one of registers 2 through 12 that contains the address of the buffer being returned to the buffer pool.