Return Code Processing When REXX Execs Are Queued

The Platform Server bases the request return code on two values returned by the REXX command processor.

A return code indicates whether the exec is processed without errors. Sample errors could be syntax errors that are not intercepted by the SIGNAL, or execs that are not defined in the SYSEXEC file. To determine the return code, consider the following two situations:

Note: The Platform Server assigns a 1-byte value to contain the return code. Therefore, any return code value greater than or equal to 256 is computed by dividing 256 into the return code and assigning the remainder as the return code. Therefore, a return code of 256 becomes a 0 return code, while a return code of 257 becomes a return code of 1.