REXX SPOC return and reason codes

REXX SPOC return and reason codes describes return and reason codes issued from the REXX Single Point of Control (SPOC). The return and reason codes are character values, not hexadecimal values. The X at the end of the code is for easier reading.

IMSSPOC commands, IMS commands, and the CSLULGTS command can set special variables. These variables are IMSRC and IMSREASON. See those variables if the standard REXX return code is non-zero.

The REXX SPOC also produces the return codes from CSLSCREG or CSLOMCMD.

Table 1. REXX SPOC API return and reason codes
Return code Reason code Meaning
00000000X 00000000X The request completed successfully.
08000004X 00001000X The command is still running.
08000008X 00002000X The wait value is missing or invalid.
00002008X An IMSplex value is missing or invalid.
00002012X The STEM name is missing or invalid.
00002016X The token name is missing or invalid.
00002020X There are too many parameters.
00002024X The request token was not found.
00002028X The CART value is missing or invalid.
00002030X The option was not recognized.
00002044X An invalid value was specified.
08000010X   An environmental error occurred.
08000014X 00004000X A GETMAIN failure occurred.