TCSWAIT

The TCSWAIT system initialization parameter specifies the required CICS terminal control shutdown wait threshold.

TCSWAIT={4|number|NO|NONE|0}
The wait threshold is the time, during shutdown, that CICS terminal control allows to pass before it considers terminal shutdown to be hung. If all z/OS Communications Server sessions shutdown and close before the threshold expires then the CICS shutdown process moves on to its next stage, and the terminal control wait threshold then no longer applies. If, however, some of the z/OS Communications Server sessions do not complete shutdown and close, then CICS takes special action with these sessions. For details of this special action see the description of the TCSACTN system initialization parameter. The wait threshold only applies to z/OS Communications Server sessions; that is, z/OS Communications Server terminals and z/OS Communications Server intersystem connections. The wait time is specified as a number of minutes, in the range 1 through 99. As a special case, TCSWAIT=NO may be specified to indicate that terminal control shutdown is never to be considered hung, no matter how long the shutdown and close process takes. TCSWAIT=NONE and TCSWAIT=0 are alternative synonyms for TCSWAIT=NO, and all three have the same effect (internally they are held as the one value 0 (zero)).
The value that you specify on the TCSWAIT system initialization parameter should be large enough so that under normal circumstances all z/OS Communications Server terminals and connections shutdown in an orderly fashion. To help choose this value, consider using a value slightly larger than the elapsed time between the following two CICS terminal control shutdown messages:
  DFHZC2305 Termination of VTAM sessions beginning
  DFHZC2316 VTAM ACB is closed
Note: VTAM is now z/OS Communications Server.


dfha2_tcswait.html | Timestamp icon Last updated: Thursday, 27 June 2019