CLOSE macroinstruction error fields

A list of the values that can be set in the ERROR field of an ACB follow (ACBERFLG is the actual field name). See z/OS Communications Server: SNA Programming for a description of the CLOSE macro.
0 (X'00')
CLOSE successfully closed the ACB.
4 (X'04')
A CLOSE macro has been successfully issued for this ACB (or the ACB has never been opened in the first place).
20 (X'14')
CLOSE cannot be processed because of a temporary shortage of storage.
64 (X'40')
Outstanding OPNDST OPTCD=ACQUIRE is not released.
66 (X'42')
The ACB has been closed, but an apparent system error has prevented the successful termination of one or more of the sessions that the application program has. It is VTAM® fault; consult your IBM® Program Support Representative. The LUs that have not had their sessions terminated are not available to other application programs, and LUs with which you were requesting a session when CLOSE was executed are likewise unavailable. You can notify the VTAM operator (during program execution) of the situation so that the operator can make the LUs available to other application programs.
70 (X'46')
CLOSE was not issued in the mainline program. OPEN and CLOSE cannot be issued in any exit routine.
76 (X'4C')
This application program is authorized to issue VTAM operator commands and receive VTAM messages. A CLOSE was issued, but messages are still queued for it, or VTAM is waiting for a reply, or both. See z/OS Communications Server: SNA Programming for information about closing program operators.
80 (X'50')
VTAM is no longer included as part of the operating system.
96 (X'60')
An apparent system error occurred. Either there is a defect in VTAM logic, or there is an error in your use of OPEN or CLOSE that VTAM did not properly detect. Save all applicable program listings and storage dumps, and consult your IBM programming services representative.
112 (X'70')
CLOSE was issued while the program was in the process of terminating abnormally. The CLOSE is not necessary because the ACB is closed by VTAM when the task terminates.
188 (X'BC')
The ACB is in the process of being opened or is in the process of being closed by another request.