The CICS® DB2® attachment facility command DSNC STOP stops the attachment facility. The same function can also be achieved by issuing a CEMT or EXEC CICS SET DB2CONN NOTCONNECTED command.
This command can be issued only from a CICS terminal.
STOP syntax .-FORCE---. >>-DSNC STOP-+---------+--------------------------------------->< '-QUIESCE-'
DSNC STOP or STOP (using the STOP transaction from the CICS DB2 sample group DFH$DB2).
Access to this command can be controlled using the following CICS authorization checks:
For a DSNC STOP QUIESCE, message DFHDB2012 is output to the terminal. The terminal then remains locked until shutdown is complete, when message DFHDB2025 is output.
For a DSNC STOP FORCE, message DFHDB2022 is output to the terminal. The terminal then remains locked until shutdown is complete, when message DFHDB2025 is output.
DSNC STOP
DFHDB2012 07/09/98 14:54:28 IYK4Z2G1 Stop quiesce of the CICS-DB2 attachment facility from DB2 subsystem DB3A is proceeding.
The message resulting from the DSNC STOP command shown in Figure 14 is replaced by the message shown in Figure 15 when shutdown is complete.
DFHDB2025I 07/09/98 14:58:53 IYK4Z2G1 The CICS-DB2 attachment has disconnected from DB2 subsystem DB3A
DSNC STOP FORCE
DFHDB2022 07/09/98 15:01:51 IYK4Z2G1 Stop force of the CICS-DB2 attachment facility from DF2D is proceeding.
The message resulting from the DSNC STOP FORCE command shown in Figure 16 is replaced by the message shown in Figure 17 when shutdown is complete.
DFHDB2025I 07/09/98 15:10:55 IYK4Z2G1 The CICS-DB2 attachment has disconnected from DB2 subsystem DF2D group DFP2
In this example, group attach was used, so the name of the DB2 subsystem and the name of its group are shown.