Building the COBOL runtime environment

In CICS transactions, COBOL transactions use the COBOL runtime, which you must modify to communicate with the Sybase XA environment.

StepsConfiguring CICS to support Sybase XA COBOL transactions

  1. Log in as root.

  2. Set the COBDIR environment variable to the directory path for the MicroFocus COBOL installation.

  3. Set the PATH environment variable to include the MicroFocus COBOL binary directory.

  4. Change directory to the $SYBASE/$SYBASE_OCS/sample/xa-dtm/cics directories.

  5. 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.

NoteYou must use MicroFocus COBOL 3.1 or higher.