Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Using the DTM XA Interface
with TUXEDO [Table of Contents] Chapter 4 Application
Programming Guidelines

XA Interface Integration Guide for CICS, Encina, and TUXEDO Adaptive Server Version 12.5

[-] Chapter 3 Configuring the XA Environment
[-] Build COBOL runtime environment

Build COBOL runtime environment

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:

  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.

You must use MicroFocus COBOL 3.1 or higher.


Using the DTM XA Interface
with TUXEDO [Table of Contents] Chapter 4 Application
Programming Guidelines