Previous Topic: ADDRESS USS Return CodesNext Topic: ADDRESS WTO—Issue WTO Messages


USSCODE and USSREASON Variables

USSCODE and USSREASON are OPS/REXX variables that are created when a USS command is executed and an answer is returned. When ADDRESS USS is expected to receive output, and a return code of 8 is returned, see the OPS/REXX variables USSCODE and USSREASON.

For the specific values and meanings of the USSCODE and USSREASON variables, see the following table:

USSCODE

USSREASON

Meaning

0

N/A

Request completed successfully

16

101

USS server command/API not found

16

102

USS server command/API not implemented

40

N/A

USS server command syntax error

1001

N/A

DOM message not found

1001

103

WTOR API timed out while waiting for response

1002

N/A

CCS for z/OS inactive

1200

N/A

CA Event Manager not active on node

1202

N/A

Requested CA Event Manager entity not found

1203

N/A

Invalid API parameters

1204

N/A

CA Event Manager node unreachable

1205

N/A

API function not yet implemented

1299

N/A

Other API error

Note: For the USSCMD verb, a constant of 1000 is added to any non-zero return code from the command. Reason codes are returned as is. Meanings for USS command return and reason codes can be found in the IBM documentation.