Sample exits and interface definitions

The locations of sample exits and how to edit them for your use.

Sample user exit files are supplied in <install_path>\samples\c\exits.

See Sample programs 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 to make files cicsecix and cicsepix:
    • On Windows, run ecix1mak.cmd and epix1mak.cmd
    • To compile the user exit sample programs using the supplied sample makefile, issue the following command:
      make -f samp2.mak 
      To compile the user exit sample programs on Linux on POWER® using the IBM® XL C compiler, issue the following command:
      make -f samp2.mak COMPILER=XL 
  2. Copy cicsecix and cicsepix to the <install_path>\bin subdirectory
The following header files define the exit interfaces:
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.

Information Information

Feedback


Timestamp icon Last updated: Tuesday, 19 November 2013


https://ut-ilnx-r4.hursley.ibm.com/tg_latest/help/topic/com.ibm.cics.tg.doc//progde/dfhp8apc.html