In CICS transactions, COBOL transactions use the COBOL runtime, which you must modify to communicate with the Sybase XA environment.
To configure CICS to support Sybase XA COBOL transactions:
Log in as root.
Set the COBDIR environment variable to the directory path for the MicroFocus COBOL installation.
Set the PATH environment variable to include the MicroFocus COBOL binary directory.
Change directory to the $SYBASE/$SYBASE_OCS/sample/xa-dtm/cics directories.
Run xa_make_cobol_runtime.
WARNING! This script assumes that the CICS COBOL runtime file is installed in /usr/lpp/cics/v1.1/bin. If you have installed CICS somewhere else, you must edit this script to reflect your installation.
This script builds a MicroFocus COBOL runtime environment with CICS and Sybase XA support. It allows CICS transactions written in COBOL to reference XA Interface and Open Client functions at run time. The script takes several minutes to run. For more information, see your CICS documentation.
You must use MicroFocus COBOL 3.1 or higher.