Activating DB2 and IBM MQ connections during CICS startup
If you are using DB2 or WebSphere® MQ with CICS, you must make special arrangements to define and activate your connections.
DB2 connections
- From the WUI Main menu, click CICS operations views > DB2, DBCTL and IBM MQ operations views > Connections (under DB2 operations views).
- Select the objects to change.
- Click the Connect button.
In a test environment, you might be able to wait for the MAS to start and then install the BAS definition. Then issue a CONNECT command against the resulting DB2CONN.
However, in a production system, you might want the connection to be automatically activated when the MAS starts up, as part of the PLT processing sequence, so that the DB2 subsystem can be accessed immediately by programs and users. Specifying the CICS system initialization parameter DB2CONN=YES does not by itself activate the connection, because at the time the system initialization parameters are processed, CICSPlex SM has not yet installed any DB2CDEF objects.
- Ensure that you can install an appropriate DB2CDEF resource definition for CICSPlex SM, and that the definition is set up for automatic installation.
- Specify the MASPLTWAIT(YES) CICSPlex SM parameter, which causes the DB2CDEF resource definition (as well as all other BAS resource definitions) to be installed during PLT processing.
- Arrange for the appropriate DB2 connect program to be started after the MAS startup program (EYU9NXLM for a local MAS).
IBM MQ connections
You cannot use BAS to define and install a IBM MQ for z/OS connection before the CICSPlex SM environment has been initialized.