LASTACQCODE

The INQUIRE CONNECTION or INQUIRE NODE commands can use the option LASTACQCODE (LACQCODE in CEMT), which returns the result of the last acquire request.

This result is the sense code from the last z/OS® Communications Server operation, where zero indicates success. For a full explanation of z/OS Communications Server sense codes, see z/OS Communications Server: SNA Messages for connections and z/OS Communications Server: IP and SNA Codes for nodes.