z/OS DFSMS Macro Instructions for Data Sets
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


FREEDBUF—Return a dynamically obtained buffer (BDAM and BISAM)

z/OS DFSMS Macro Instructions for Data Sets
SC23-6852-02

The FREEDBUF 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 through dynamic buffering; that is, by coding 'S' for the area address in the associated READ macro. FREEDBUF does not support buffers above the line.

A buffer acquired dynamically can also be released by a WRITE macro. See the description of the WRITE macro for BDAM or BISAM.

The FREEDBUF 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. Both FREEDBUF parameters must reside below the 16MB line, so FREEDBUF will ignore the high-order bytes of their addresses.

The format of the FREEDBUF macro is:

decb address—RX-Type Address, (2-12), or (0)
specifies the address of the data event control block (DECB) used or created by the READ macro that acquired the buffer dynamically. When issued in 31-bit addressing mode, the buffers must reside below the 16MB line.
K
specifies that BISAM is being used.
D
specifies that BDAM is being used.
dcb address—RX-Type Address, (2-12), or (1)
specifies the address of the data control block for the opened data set being processed.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014