Return and reason codes

When the ANTRQST macro returns control to your program the following occurs:
There are two ways that return and reason codes can be returned to the caller:

Return codes will be found in either RTNCODE or RETINFO, but not both. EXCEPTION: return code 0 can be found in both places.

Executable macro ANTRQSTL has been provided to include definitions and descriptions of the return code and reason code values. These descriptions can also be found in z/OS MVS System Messages, Vol 1 (ABA-AOM).

For ANTRQST return and reason codes, refer to z/OS MVS System Messages, Vol 1 (ABA-AOM). It identifies hexadecimal and decimal return codes and reason codes. IBM® support personnel may request the entire reason code, SYSLOG, and any associated dumps.