Connecting from CICS

You can start a connection to Db2 at any time after CICS® initialization by using the CICS attachment facility. The CICS attachment facility is a set of Db2-provided modules that are loaded into the CICS address space.

Procedure

Begin general-use programming interface information.To connect to Db2, use one of the following approaches:

  • Issue the following command to start the attachment facility:
    DSNC STRT ssid

    For ssid, specify a Db2 subsystem ID to override the value that is specified in the CICS INITPARM macro.

  • Start the attachment facility automatically at CICS initialization by using a program list table (PLT).
    End general-use programming interface information.