Configure the IBM Integration Bus connection to CICS Transaction Server for z/OS by using the CICSConnection configurable service, and set up FILEA on your target CICS region to set up the CICS Transaction Server for z/OS Connectivity sample.
Before you import and deploy the CICS Transaction Server for z/OS Connectivity sample, you must configure the IBM Integration Bus connection to CICS by using the CICSConnection configurable service:
Before you run the CICS Transaction Server for z/OS Connectivity sample, you must set up FILEA on your target CICS region:
The following steps describe the minimum configuration that is required to import and deploy the sample:
mqsisetdbparms IB9NODE -n cics::<ID name> -u <username> -p <password>
Use the following example to create a CICSConnection configurable service for the CICS instance that is running at mycicsregion.com port 12345. The integration node is identified by APPLID BRKApp and qualifier BRKQual.
If you do not need a login to connect to your CICS region, run this command:
mqsicreateconfigurableservice IB9NODE -c CICSConnection -o CICSSampleConnectionService -n cicsServer,clientApplid,clientQualifier -v tcp://mycicsregion.com:12345,BRKApp,BRKQual
If you do need a login to connect to your CICS region, run the following command, replacing <ID name> with your login.
mqsicreateconfigurableservice IB9NODE -c CICSConnection -o CICSSampleConnectionService -n cicsServer,clientApplid,clientQualifier,securityIdentity -v tcp://mycicsregion.com:12345,BRKApp,BRKQual,<ID name>
mqsistop IB9NODE
mqsistart IB9NODE
To find out more about creating a configurable service that the CICSRequest node or message flow refers to at run time for connection information, and to view the available CICSConnection configurable service properties, see Changing connection information for the CICSRequest node and Configurable services properties in the IBM Integration Bus documentation.
mqsistop IB9NODE
mqsistart IB9NODE
To find out more about using the IBM Integration Explorer to create a configurable service that the CICSRequest node or message flow refers to at run time, see Creating a new configurable service in the IBM Integration Bus documentation. To view the available CICSConnection configurable service properties, see Configurable services properties in the IBM Integration Bus documentation.
You can now import and deploy the sample. For more information, see CICS Transaction Server for z/OS Connectivity sample.
When you have imported the sample, you might see the following warning messages on the CICS Connectivity Message Flows project and CICSConnectivity.esql file:
Unresolvable message field reference "InputBody.data.file"
Unresolvable message field reference "InputBody.data.record"
You can ignore these messages because the data folder is not contained in the XML Schema.
Complete the following steps to set up FILEA on your target CICS region:
When a CICS region is initially defined, the FILEA sample datasets are created as part of the installation process and can be found at mydsindex.myCICSregion.FILEA. If this dataset is unavailable, use the following Job Control Language (JCL) script to re-create the dataset:
//HCREFILA JOB … card details … //CREFILEA EXEC PGM=IDCAMS,REGION=6144K //SYSPRINT DD SYSOUT=A //AMSDUMP DD SYSOUT=A //SYSIN DD * DEFINE CLUSTER ( - NAME( hlq4filea.FILEA ) - CYL(2,1) - VOLUME(SYSDAV) - KEYS( 6 1 ) - INDEXED - RECORDSIZE( 80 80 ) - FREESPACE( 5 5 ) - SHAREOPTIONS( 2 ) - ) - INDEX ( - NAME( hlq4filea.FILEA.INDEX ) - ) - DATA ( - NAME( hlq4filea.FILEA.DATA ) - ) /* // //HINIFILA JOB … card details … //* ==================== //* LOAD VSAM DATA FILE //* ==================== //INIFILEA EXEC PGM=DFH£LDSP //STEPLIB DD DSN=hlq4cics.SDFHLOAD,DISP=SHR //FILEA DD DISP=SHR,DSN=hlq4filea.FILEA //SYSOUT DD SYSOUT=* //SYSIN DD DISP=SHR,DSN=hlq4cics.SDFHSAMP(DFH£FAIN) //* //
Define a FILE resource by using the CICS supplied CEDA transaction. The resource can be based on the CSD command sample FILEA definition in group DFH£FILA, and must reference the dataset that is defined in the previous step.
The CICS supplied sample program, DFH$AXCS, can be installed by using the following command:
CEDA INSTALL PROG(DFH$AXCS) GROUP(DFH$EXCI)
You can now run the CICS Transaction for z/OS Connectivity sample, see Running the CICS Transaction for z/OS Connectivity sample.