Terminating an ISC session from CICS
You can only use CICS® control operator commands to terminate ISC sessions.
The CICS operator can release a session by using the CEMT SET TERMINAL(termid) RELEASED | OUTSERVICE command, where termid is the four-character session name (defined on the DEFINE SESSIONS command in the CSD utility), or the TRMIDNT in the DFHTCT TYPE=TERMINAL program. The following list describes the effects of the keywords for the CEMT SET TERMINAL command:
- RELEASED
- The session terminates when active transactions complete (unless
you also specify the PURGE or FORCEPURGE keywords)
and the session is left in a VTAM® between-brackets
state.
When you specify RELEASED, CICS initiates an orderly termination between IMS and CICS. Although, from the CICS point of view, the session may appear to be in warm-start state, it is actually in cold-start state as a result of the VTAM SBI/BIS (Stop Bracket Initiation / Bracket Initiation Stopped) command flow.
- OUTSERVICE
- The session terminates when active transactions complete (unless
you also specify the PURGE or FORCEPURGE keywords),
the session is left in a VTAM between-brackets
state, and no additional transactions can use the terminal. For a VTAM terminal, using this keyword
also causes it to be released and the operator to be signed off, either
immediately or when the current transaction has completed.
When you specify OUTSERVICE, CICS requests resynchronization when the session is re-initiated, that is, the session is left in a warm-start state. To initiate a session in cold-start mode, the CICS operator must use the CEMT SET TERMINAL (termid) COLDACQ command.
You can specify both RELEASED and OUTSERVICE together on the same command.
Restriction: The OUTSERVICE keyword is not applicable for LU 6.2 devices.
operator controlapplication to issue this call.
Any messages about the session's termination are sent to transient data destination CSMT.