Previous Topic: The RC VariableNext Topic: Additional Return Information


The TNG.ERROR Variable

If an ADDRESS TNG command does not execute successfully (that is, if it returns a non-zero RC value), it generates an error message and stores the message in the special REXX variable called TNG.ERROR. The error message ID begins with the prefix TNG, 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=5928, then the error message contained in the TNG.ERROR variable is

TNG05928E Repository login failed