The CICS® DB2® attachment facility command DSNC DISCONNECT disconnects threads.
The command provides manual control to release resources being shared by normal transactions so that special purpose processes, such as DB2 utilities, can have exclusive access to the resources.
This command can be issued only from a CICS terminal.
DISC syntax >>-DSNC DISConnect --plan-name--------------------------------><
DSNC DISC or DISC (using the DISC transaction from the CICS DB2 sample group DFH$DB2).
Access to this command can be controlled using the following CICS authorization checks:
You can stop the transactions associated with a particular plan ID in CICS with the MAXACTIVE setting for TRANCLASS. This prevents new instances of the transaction from causing a re-creation of a thread.
Disconnect active and protected threads for plan TESTP05:
DSNC DISC TESTP05
DFHDB2021 07/09/98 13:46:29 IYK4Z2G1 The disconnect command is complete.