Preparing IBM CICS for IPIC

This document describes how to configure an autoinstalled IPCONN for your IPIC connection. The EntireX Adapter supports connections to IBM CICS IPIC to call programs in CICS. The most common scenarios are described in the IBM documentation of CICS Transaction Gateway for Multiplatforms:

Important:
If the terms and concepts in this document are unfamiliar to you, ask an appropriate CICS system programmer. Only authorized personnel should make changes to mainframe computer systems.


Secure Autoinstalled IPIC Connection

This section describes how to configure a secure autoinstalled IPCONN for your IPIC connection (similar to SC01 scenario in CICS Transaction Gateway for Multiplatforms). With this configuration, the CICS endpoint checks the security.

Configuring CICS

In this configuration you define a TCPIPSERVICE, a template IPCONN and provide an IPCONN autoinstall user program in CICS.

  • To provide the IPCONN autoinstall user program, use the CICS sample program DFHISCIP (Note 1) and add in the A010-INSTALL-IPCONN section a MOVE statement telling CICS the name of your IPCONN template.

    graphics/ipicRpc_setup-sec_config-1.png

    Compile, link-edit (giving a module name of your choice e.g. PGMSC01) and provide it as any other CICS program in the CICS RPL chain. CEDA DEFINE and CEDA INSTALL it.

  • In the TCPIPSERVICE resource, define Urm to point to your IPCONN autoinstall user program, set the POrtnmuber, PROtocol to IPIC and TRansaction to CISS. CEDA INSTALL the TCPIPSERVICE.

    graphics/ipicRpc_setup-sec_config-2.png

  • Define an IPCONN resource as a template. Set Tcpipservice, Receivecount to the number of parallel IPCONN sessions, SENdcount to zero, INservice to yes. For Security set SECurityname to a RACF user ID authorized to establish IPIC connections, Linkauth to Secuser and Userauth to Verify. CEDA INSTALL the IPCONN resource.

    graphics/ipicRpc_setup-sec_config-3.png

Notes:

  1. DFHISCIP is written in COBOL. There are also CICS samples available for PL/I, C and Assembler. Refer to your IBM documentation.

Installation Verification CICS

Start of instruction setTo verify the installation in CICS

  1. Check TCP/IP with command

    CEMT INQ TCPIPS
  2. Check status is open, the port number is correct, protocol is IPIC, and Urm shows your IPCONN autoinstall program.

    graphics/ipicRpc_setup-sec_verify-1.png

  3. Check IPCONN with command

    CEMT INQ IPCONN
  4. Check the IPCONN attributes are INService and RELeased.

    graphics/ipicRpc_setup-sec_verify-2.png

Off-host Configuration

The parameters for APPLID and NETWORKID should be left empty in your off-host configuration.

RACF Passwords, RACF Passphrases and RACF PassTickets are supported. For details see Connection Parameters for CICS IPIC Connections.

Autoinstalled IPIC Connection

This section describes how to configure autoinstalled IPIC connections without security implemented in the CICS endpoint. It uses the default connection settings for IPIC autoinstalled connections (similar to SC08 scenario in CICS Transaction Gateway for Multiplatforms). With this configuration, it is assumed that the EntireX Adapter or RPC Server for CICS IPIC is running in the green zone (protected network) and a calling instance has already successfully passed security checks. It covers the following topics:

Configuring CICS

In this configuration you define a CICS TCPIPSERVICE resource only.

  • In the TCPIPSERVICE resource, define Urm to point to DFHISAIP, set the port, PROTOCOL to IPIC and transaction to CISS. CEDA INSTALL the TCPIPSERVICE.

    graphics/ipicRpc_setup-nosec_config-1.png

Installation Verification CICS

Start of instruction setTo verify the installation in CICS

  1. Check TCP/IP with command

    CEMT INQ TCPIPS
  2. Check the status is open, the port number is correct, protocol is IPIC, and Urm shows program DFHISAIP.

    graphics/ipicRpc_setup-nosec_verify-1.png

Off-host Configuration

The parameters for APPLID and NETWORKID should be left empty in your off-host configuration. For details see Connection Parameters for CICS IPIC Connections.

More Information

For more information on CICS TCPIPSERVICE and IPCONN resource definitions on your IBM mainframe, see the IBM documentation of CICS Transaction Server and CICS Transaction Gateway for Multiplatforms.

Error Handling

This table describes the handling of errors in the CICS IPIC connection or the RPC Server for CICS IPIC.

Problem Handling
A CICS program sends abend code in response. The CICS session is closed and the next call opens a different session.
The TCP/IP connection is lost with a SocketTimeoutException. The CICS session is closed and the next call opens a different session.