z/OS TSO/E Programming Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


PUT and PUTX

z/OS TSO/E Programming Services
SA32-0973-00

Both the PUT and the PUTX macro instructions cause a record to be written to a terminal.

In locate mode, the first use of PUT or PUTX causes an address pointing to a buffer to be returned in register 1. The first record is placed in this buffer by the problem program and is written out when the next PUT or PUTX for the same data control block (DCB) is issued. Succeeding records are written in the same manner. The last record is written at CLOSE time.

In move or substitute mode, the PUT or PUTX macro instruction moves a record from the user-specified work area to the terminal. You must supply the work area address to the PUT macro instruction.

The input to the PUT and PUTX macro instruction consists of the DCB address and the user's area address, which is omitted for locate mode.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014