After the Language Environment-CICS interface routine returns from the run unit end invocation call to CICS®, CICS can the drive Language Environment-CICS interface routine with the run unit termination call. Run unit termination call can occur as frequent as the run unit end invocation call or it might only occur when CICS is under stress.
Call CEECCICS (31, rsncode, syseib, preasa, ptoken, ttoken, rtoken, terminfo) Retcode (rc)
DCL 1 TERMINFO BIT(32), /* CICS termination information */
2 TCB_SWITCH BIT(1), /* Indicates TCB has been */
/* switched and clean-up should */
/* be bypassed */
/* For OTE and reusable enclaves*/
/* CICS may or may not call Lang*/
/* Env for the proper TCB that */
/* original task (TCB) was */
/* dubbed on */