z/OS TSO/E REXX Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Return codes

z/OS TSO/E REXX Reference
SA32-0972-00

Table 1 shows the return codes for the data stack routine. These are the return codes from the routine itself. They are not the return codes from any of the TSO/E REXX commands, such as NEWSTACK, DELSTACK, and QBUF that are issued. The command's return code is placed into the REXX special variable RC, which the exec can retrieve.

The data stack routine returns the return code in register 15. If you specify the return code parameter (parameter 6), the routine also returns the return code in the parameter.

Table 1. Return codes for the data stack replaceable routine
Return code Description
0 Processing was successful. The requested function completed.
4 The data stack is empty. A return code of 4 is used only for the PULL function.
8 A terminal marker, created by the MARKTERM function, was not on the active data stack. A return code of 8 is used only for the DROPTERM function.
20 Processing was not successful. An error condition occurred. The requested function is not performed. An error message describing the error may be issued.

If there is no error message, REXX may have been invoked authorized. You cannot invoke a REXX exec or REXX service as authorized in either TSO/E foreground or background.

28 Processing was not successful. A language processor environment could not be located.
32 Processing was not successful. The parameter list is not valid. The parameter list contains either too few or too many parameters, or the high-order bit of the last address in the parameter list is not set to 1 to indicate the end of the parameter list.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014