Examples

Example 1
To start the CICS DB2 attachment facility using the DB2 subsystem ID (DB2ID) or DB2 data-sharing group ID (DB2GROUPID) from an installed DB2CONN:
 
                  DSNC STRT
In this example, group attach is used, so the name of the DB2 subsystem and the name of its group are shown.
Figure 1. Sample output from DSNC STRT command
 
DFHDB2023I 07/09/98 15:06:07 IYK4Z2G1 The CICS DB2 attachment has connected to
DB2 subsystem DF2D group DFP2
 

Example 2
To start the CICS DB2 attachment facility, using an installed DB2CONN, but overriding the DB2 subsystem ID (DB2ID) or DB2 data-sharing group ID (DB2GROUPID) in the DB2CONN with the DB2 subsystem ID DB3A:
 
                  DSNC STRT DB3A
Figure 2. Sample output from DSNC STRT using DB3A
 
DFHDB2023I 07/09/97 15:06:07 IYK4Z2G1 The CICS DB2 attachment has connected to
DB2 subsystem DB3A
 
If you are not using group attach, and the DB2 subsystem is not active when an attempt is made to start the CICS DB2 attachment facility, the following output is received if STANDBYMODE=NOCONNECT is specified in the DB2CONN:
Figure 3. Sample output from DSNC STRT when DB2 is not active and STANDBYMODE=NOCONNECT
DFHDB2018 07/09/98 15:14:10 IYK4Z2G1 DB3A DB2 subsystem is not active.
 
If STANDBYMODE=CONNECT or RECONNECT, the following output is received:
Figure 4. Sample output from DSNC STRT when DB2 is not active and STANDBYMODE=CONNECT or RECONNECT
 DFHDB2037 07/09/98 15:15:42 IYK4Z2G1 DB2 subsystem DB3A is not active.
 The CICS DB2 attachment facility is waiting.
 
If you are using group attach, and no DB2 subsystems in the data-sharing group are active when an attempt is made to start the CICS DB2 attachment facility, the following output is received if STANDBYMODE=NOCONNECT is specified in the DB2CONN:
Figure 5. Sample output from DSNC STRT with group attach when no DB2 subsystems in the data-sharing group are active and STANDBYMODE=NOCONNECT
 DFHDB2037 07/09/01 12:30:10 IYK2ZFV1 DB2 group DFP2 has no active members.
  
If STANDBYMODE=CONNECT or RECONNECT, the following output is received:
Figure 6. Sample output from DSNC STRT with group attach when no DB2 subsystems in the data-sharing group are active and STANDBYMODE=CONNECT or RECONNECT
 DFHDB2037 07/09/01 12:55:00 IYK2ZFV1 DB2 group DFP2 has no active members.
 The CICS DB2 attachment facility is waiting.
 


dfhtkc0058.html | Timestamp icon Last updated: Sunday, 4 June 2017