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 TGETReturn 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. |