A. Building CICS/6000 Programs on UNIX : How You Configure CICS/6000 with Ingres DTP : Step 5: Compile and Link the Switch Load File
 
Share this page                  
Step 5: Compile and Link the Switch Load File
The Ingres DTP switch load file must be compiled and linked into the module name and location that is specified in the CICS/6000 XAD, (the XAD stanza file that holds the XA definitions for the CICS/6000 region).
To compile and link the Ingres DTP switch load file
1. Compile and link “iixa.c” into the “iixa” file located in the current directory by issuing the following command:
xlc_r -v -o iixa -e iixa \
    -I/usr/lpp/encina/include/tmxa \
    -L/usr/lpp/cics/v2.0/lib \ /*CICS library version specific*/
    -L$II_SYSTEM/ingres/lib \
    -I$II_SYSTEM/ingres/files \
    -lregxart -lm \
    -lq.1 \ /*INGRES XA library*/
    iixa.c
Refer to the CICS/6000 documentation to determine the CICS/6000 library version.
2. Compile and link your applications written in C. For details on how to verify that the configuration has been successfully completed, see C Applications (see page C Applications) in this appendix.