Starting the CICS DB2 attachment facility
The CICS® DB2® attachment facility can be started automatically at initialization, or manually.
About this task
- Automatic connection at CICS initialization
- You can configure CICS, by any one of the following methods, so that at
initialization, an automatic connection between CICS and DB2 is established:
- Specifying DB2CONN=YES in the SIT, or as a SIT override
- Specifying program DFHD2CM0 after the DFHDELIM statement of your PLTPI
- Specifying a user-written program that issues an EXEC CICS SET DB2CONN CONNECTED command, after the DFHDELIM statement of your PLTPI
- Manual connection
- You can manually establish the connection between CICS and DB2 by any one of the following methods:
- Using a DSNC STRT command
- Using a CEMT SET DB2CONN CONNECTED command
- Running a user application that issues an EXEC CICS SET DB2CONN CONNECTED command