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

When you use CICS® Transaction Server for z/OS®, Version 5 Release 4 CICS systems with the CICS DB2 attachment facility, you make special arrangements when you use BAS to install a DB2® connection defined to CICSPlex® SM. When BAS is used to define and then install a DB2 connection, the connection starts in NOTCONNECTED status. You can use the WUI to cause the connection to the DB2 subsystem to be activated in the following way:
  1. From the WUI Main menu, click CICS operations views > DB2, DBCTL and IBM MQ operations views > Connections (under DB2 operations views).
  2. Select the objects to change.
  3. 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.

Activate a DB2 connection during CICS startup in the following way:
  1. Ensure that you can install an appropriate DB2CDEF resource definition for CICSPlex SM, and that the definition is set up for automatic installation.
  2. 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.
  3. 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.



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