Stopping the CICS DB2 attachment facility

The CICS® DB2® attachment facility, and hence the CICS-DB2 connection, can be quiesce stopped or force stopped. A quiesce stop waits for all CICS transactions currently using DB2 to complete. A force stop causes all CICS transactions currently using DB2 to be forcepurged.

Automatic disconnection at CICS termination

During startup of the CICS DB2 attachment facility, the CICS DB2 task-related user exit (TRUE) is enabled with the SHUTDOWN option. This means that CICS automatically invokes the TRUE when CICS is shut down, so as to shut down the CICS DB2 connection. When invoked during a quiesce shutdown of CICS, the CICS DB2 TRUE initiates a quiesce stop of the attachment facility. Likewise an immediate shutdown of CICS causes a force shutdown of the attachment facility to be initiated by the TRUE. If CICS is cancelled, no shutdown of the attachment facility is initiated by the TRUE.

Manual disconnection

The connection between CICS and DB2 can be stopped or disconnected by using any one of the following methods:

Related concepts
Operations with CICS DB2
Starting the CICS DB2 attachment facility
Resolving indoubt units of work (UOWs)
Managing the CICS DB2 attachment facility
Entering DB2 commands
Purging CICS DB2 transactions
Starting SMF for DB2 accounting, statistics and tuning
Starting GTF for DB2 accounting, statistics and tuning
[[ Contents Previous Page | Next Page Index ]]