Terminate a session between CICS® and a logical unit or terminal.
Conditions: SIGNAL, TERMERR
For most terminal and logical unit types, ISSUE DISCONNECT raises no conditions. Exceptions are:
It occurs when an inbound SIGNAL data-flow control command is received from a logical unit or session. EIBSIG is always set when an inbound signal is received.
Default action: ignore the condition.
It occurs for a terminal-related error, such as a session failure. This condition applies to SNA-connected LUs only. Because of the asynchronous nature of this condition, the application program should check, using SEND CONFIRM or SYNCPOINT, to make sure any errors still outstanding have been resolved before it relinquishes control. If you want to handle this condition, you must first issue a FREE command to free the session. If you do not do this, an INVREQ condition occurs, plus an ATCV abend if you do not handle this condition.
A CANCEL TASK request by a user node error program (NEP) may cause this condition if the task has an outstanding terminal control request active when the node abnormal condition program handles the session error.
Default action: terminate the task abnormally with abend code ATNI.