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


Return Codes from TGET

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

When TGET returns control to the program that invoked it, TGET supplies, in register 1, the length of the message moved into your buffer. In addition, one of the following return codes is supplied in register 15:

Table 1. Return codes from TGET
Return code dec(Hex) Meaning
0(0) TGET completed successfully. Register 1 contains the length of the input line read into your input buffer.
4(4) NOWAIT was specified and no input was available to be read into your input buffer.
8(8) An attention interruption occurred while TGET was processing. The message was not received.
12(C) Your input buffer was not large enough to accept the entire line of input entered at the terminal. Subsequent TGET macro instructions will obtain the rest of the input line.
16(10) Incorrect parameters were passed to TGET.
20(14) The terminal was logged off and could not be reached or a serious error has occurred in z/OSMF ISPF.
24(18) TGET completed successfully. Register 1 contains the length of the input line read into your buffer. The data was received in NOEDIT mode.
28(1C) Your input buffer was not large enough to accept the entire line of input entered at the terminal. Subsequent TGET macro instructions will obtain the rest of the input line. The data was received in NOEDIT mode.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014