Sample exits and interface definitions

Sample user exit files are supplied in:
  • <install_path>\samples\c\exits
See file <install_path>\samples\samples.txt for more details about the samples, and how to edit them for your system. To install the samples:
  1. Make any required changes to the details of servers and aliases
  2. to make files cicsecix and cicsepix:
    • On Windows®, run ecix1mak.cmd and epix1mak.cmd
    • On UNIX® and Linux® operating systems, run samp.mak
  3. copy cicsecix and cicsepix to the <install_path>\bin subdirectory
The following files are also supplied to help with programming the exits. Unless otherwise specified, the path to the files is <install_path>\samples\c\exits.
cicsecix.h
A header file in the <install_path>\include directory that defines:
  • inputs and outputs for each ECI exit
  • the format of the list of addresses for calling ECI exits
  • data structures used by ECI exits
  • return code values for ECI exits.
cicsepix.h
A header file in the <install_path>\include directory that defines:
  • inputs and outputs for each EPI exit
  • the format of the list of addresses for calling EPI exits
  • data structures used by EPI exits
  • return code values for EPI exits.
ecix1.c
A template that you can use to write your own ECI user exits. It does not perform any actions if you compile it.
epix1.c
A template that you can use to write your own EPI user exits. It does not perform any actions if you compile it.