Running OPS/REXX programs in batch. Is there a way to make the step terminate with different return codes?
Release : 14.0
Component : OPS/MVS
The REXX exit instruction can be used to generate the step return code.
For example:
exit(0) - step will end with rc=0
exit(8) - step will end with rc=8
Sample REXX:
if <condition> then exit(0)
else exit(8)