DSNC - CICS Db2 transaction
Use DSNC to enter Db2® commands and carry out a range of other CICS® Db2 operations.
- Enter Db2 commands from a CICS terminal. See Issuing commands to Db2 by using the DSNC transaction for details.
- Cause threads to be terminated when they are released (DSNC DISCONNECT).
- Display information about transactions using the CICS Db2 interface, and display statistics (DSNC DISPLAY).
- Modify the unsolicited message destinations, and modify the number of active threads used by a DB2ENTRY, the pool, or for commands (DSNC MODIFY).
- Shut down the CICS Db2 interface (DSNC STOP).
- Start the CICS Db2 interface (DSNC STRT).
The DSNC transaction executes program DFHD2CM1, which handles both CICS Db2 attachment facility and Db2 commands. You can distinguish Db2 commands from CICS Db2 attachment facility commands by the hyphen (-) character, which is entered with Db2 commands. This character is not a Db2 subsystem recognition character, but a command recognition character. It is always a -, independent of the character defining the Db2 subsystem, since CICS can only connect to one Db2 subsystem at a time. There is no need to use different Db2 subsystem recognition characters from CICS, and thus we use only the default - character.
Command routing and processing
Alternative transaction definitions supplied in sample group DFH$DB2
- DISC
- DISP
- STRT
- STOP
- MODI
The sample CICS Db2 group, DFH$DB2® contains the following transaction definitions for issuing Db2 commands. If they are installed, you can omit DSNC from the Db2 command.
| -ALT | -ARC | -CAN |
| -DIS | -MOD | -REC |
| -RES | -SET | -STA |
| -STO | -TER |