OPSVIEW Editors Option › Understanding Execution Messages and Return Codes from Option 2.5 › How the Compiled REXX Facility Interprets Return Codes
How the Compiled REXX Facility Interprets Return Codes
After you execute a REXX program from the compiled REXX facility, a post-execution message appears. The content of the message is based upon the value that the REXX program returned to the compiled REXX facility:
- If the program returned either 0 or a non-integer value, the post-execution message shows a return code of 0. This indicates that execution was successful.
- If the program returned an integer value other than 0, the compiled REXX facility considers it to be indicative of an error condition. The post-execution message will include the returned value, and will indicate that an abnormal condition was detected during execution.