Writing configuration programs

FEPI programs are CICS® applications, and so all aspects of CICS programming apply.

Before you begin

Familiarize yourself with the guidance about writing CICS application programs. See the sections about designing efficient applications and dealing with exception conditions.

About this task

To write a configuration program, use the FEPI system programming commands. They are an extension of the EXEC CICS commands and have similar names and similar functions. The FEPI commands also have similar keywords, but they are distinguished by having “FEPI” as a prefix.

Procedure

  1. You can use the following system programming commands in your configuration program:
    Definition:
    EXEC CICS FEPI INSTALL
    Define communication resources
    EXEC CICS FEPI ADD
    Add resources to a pool
    EXEC CICS FEPI DELETE
    Remove targets or nodes from a pool
    EXEC CICS FEPI DISCARD
    Remove communication resources completely from FEPI.
    Operations:
    EXEC CICS FEPI INQUIRE
    Query FEPI status and resources
    EXEC CICS FEPI SET
    Control FEPI resources.
  2. When translating your programs, you must specify the FEPI option, which instructs the translator to process FEPI commands.
    You do not need the SP option.
  3. Select whether your FEPI configuration programs are AMODE(24) or AMODE(31).
    The configuration programs can issue FEPI commands in either 24- or 31-bit addressing mode, and reside above or below the 16MB line.
  4. Consider how your configuration program should handle exception conditions.