Completing the connection from CICS

The connection is completed when the CICS adapter completes these steps:

  1. Enable the CICS adapter and initialize the control blocks.

  2. Attach the z/OS subtasks and identify CICS generic applId (as specified in the CICS system initialization parameters as the connection ID) to WebSphere MQ. This is described in the CICS System Definition Guide.

These two steps are done for you automatically if you use the INITPARM parameter or the CKQC transaction (this is described in the WebSphere MQ for z/OS System Administration Guide). We can also use a PLTPI program to do this; see Writing a PLTPI program to start the connection.

When the connection is complete, a pending event called a termination notification is activated. This pending event remains active until the queue manager terminates in either an orderly or a forced way. When the pending event expires (or matures), it causes a FORCE shutdown request to be issued to the CICS adapter, and the pending event is canceled.