Previous Topic: The RC VariableNext Topic: Additional Return Information


The OPS.ERROR Variable

If an OPS command does not execute successfully (if it returns a non-zero RC value), it generates an error message and stores the message in the special REXX variable called OPS.ERROR. The OPS.ERROR message ID consists of the prefix AXC, followed by a four-digit number (corresponding to the RC return code value), and a letter indicating the message type. See the Message Reference Guide for a more detailed description of the error message.

For example, if RC=1122, then the error message contained in the OPS.ERROR variable is:

AXC1122E OPS interface; no response