To disconnect CICS from DBCTL, you can:
CDBC DISConnect [IMMediate]
orOption 2 gives you an orderly disconnection. An orderly disconnection allows all existing CICS-DBCTL tasks to be completed before CICS is disconnected from DBCTL.
The following display shows you the effect of asking for option 2:
CDBC CICS-DBCTL CONNECTION/DISCONNECTION 93.259 13:39:20 Select one of the following: 1 Connection 2 ORDERLY disconnection 3 IMMEDIATE disconnection Option Selection ==> 2 Startup Table Suffix ==> 00 DBCTL ID Override ==> DFHDB8209D DBCTL orderly disconnection requested. Press PF5 to confirm. Status of the Interface: DFHDB8293I DBCTL connected and ready. CICS APPLID: IYAHZCD2 DBCTL ID: SYS2 Startup Table Suffix: 00 PF1 = Help 2 = Refresh 3 = End
Option 3 gives you an immediate disconnection. This allows only current DL/I requests to DBCTL from this CICS system to be completed before CICS is disconnected from DBCTL.
A field on the CDBC panel enables you to use the CDBC transaction to specify a DBCTLID to override the one in the DRA startup table. The syntax for connection to DBCTL via CDBC is:
CDBC CONNECT [SUFFIX(xx)] [DBCTLID(yyyy)]
For more details on using CDBC, see the CICS® IMS™ Database Control Guide.