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 IRXEXCOM routine. IRXEXCOM returns the return code in register 15. If you specify the return code parameter (parameter 6), IRXEXCOM also returns the return code in the parameter.

Figure 1 shows the return code flags that are stored in the SHVRET field in the SHVBLOCK.

Table 1. Return codes from IRXEXCOM (in register 15)
Return code Description
-2 Processing was not successful. Insufficient storage was available for a requested SET. Processing was terminated. Some of the request blocks (SHVBLOCKs) may not have been processed and their SHVRET bytes will be unchanged.
-1 Processing was not successful. Entry conditions were not valid for one of the following reasons:
  • The values in the parameter list may have been incorrect, for example, parameter 2 and parameter 3 may not have been identical
  • A REXX exec was not currently running
  • Another task is accessing the variable pool
  • A REXX exec is currently running, but is not enabled for variable access.
0 Processing was successful.
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.
n Any other return code not equal to -2, -1, 0, 28, or 32 is a composite formed by the logical OR of SHVRETs, excluding SHVNEWV and SHVLVAR.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014