Manual disconnection
You can disconnect CICS from DB2 in a number of ways.
About this task
The connection between CICS and DB2 can be stopped or
disconnected by using any one of the following methods:
- Using the DSNC STOP command.
For information on the DSNC STOP command see DSNC STOP.
- Using a CEMT SET DB2CONN NOTCONNECTED command.
- Running the CICS-supplied CDBQ transaction that issues an EXEC
CICS SET DB2CONN NOTCONNECTED command.
The CDBQ transaction runs program DFHD2CM2. The transaction can be run directly from the terminal or by using the EXEC CICS START command. No messages are output to the terminal. The CICS DB2 adapter however outputs messages to transient data as part of its shutdown procedure.
- Running the CICS supplied CDBF transaction that issues an EXEC
CICS SET DB2CONN NOTCONNECTED FORCE command.
The CDBF transaction runs program DFHD2CM3. The transaction can be run directly from the terminal or EXEC CICS STARTed. No messages are output to the terminal. The CICS DB2 adapter, however, outputs messages to transient data as part of its shutdown procedure.
- Running a user application that issues an EXEC CICS SET DB2CONN NOTCONNECTED command.