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


GET

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

The GET macro instruction causes a record to be retrieved from the terminal and placed in either the first buffer of the buffer pool control block (locate mode) or in a user specified area (substitute or move mode). In either case, the address of the record is returned in register 1.

The input to the GET macro instruction consists of the DCB address and the user's area address, which is omitted for locate mode. The output is edited, which means that specially-indicated characters are deleted from the message. Also, lowercase characters are folded to uppercase characters.

When the terminal user types /*, end-of-file is indicated and control is passed to the problem program's EODAD routine. If no EODAD routine is specified, the job will ABEND with a system code of 337.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014