Building C user exit samples

The samples are in subdirectories of <install_path>/samples/c/exits.

The user exit directory <install_path>/samples/c/exits provides two "make" files. The user exit template sample programs ecix1.c and epix1.c are built by the parent makefile <install_path>/samples/c/samp.mak.

The user exit redirection sample programs ecix2.c and epix2.c can be built on Windows using the supplied command files. For example, to build ecix2.c, use the command ecix2mak.cmd, which is in the same subdirectory as the source.

To build the user exit redirection sample programs ecix2.c and epix2.c on UNIX and Linux, do the following:
  1. Change to <install_path>/samples/c/exits.
  2. 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

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/BuildingUserExitSamplePrograms.html