XDB RM Switch Module

Windows Environments

Source Code
The XDB RM switch module COBOL source file, ESXDBXA.CBL, is located by default in the %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\src\enterpriseserver\xa directory.
Building the Switch Module
You can use either of the following methods to build the XDB switch module:
Method 1
  1. Start an Enterprise Developer command prompt, 32 bit, running as an administrator.
  2. Change to the %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\src\enterpriseserver\xa directory (default location).
  3. Enter build xdb
Method 2
  1. Start an Enterprise Developer command prompt, 32 bit.
  2. Copy all files from the %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\src\enterpriseserver\xa directory (default location) to any location where you have WRITE permission.
  3. Change to the directory containing the copied files.
  4. Enter build xdb
Build Output
The build process produces a binary file from each COBOL source file:
COBOL Source Binary File
ESXDBXA.CBL ESXDBXA.DLL
ESXDBOPC.CBL ESXDBOPC.DLL

UNIX Environments

Source Code
The XDB RM switch module COBOL source file, ESXDBXA.CBL, is located by default in the $COBDIR/src/enterpriseserver/xa directory.
Building the Switch Module
The $COBDIR/src/enterpriseserver/xa directory contains the build batch file that you can use to build the XDB switch module:
  1. Copy all files from the $COBDIR/src/enterpriseserver/xa directory (default location) to any location where you have WRITE permission.
  2. Change to the directory containing the copied files.
  3. Enter build xdb
Build Output
The build process produces two binary files from the ESXDBXA.CBL COBOL source file, one for 32-bit platforms, and one for 64-bit platforms:
32-bit ESXDBXA.so
64-bit ESXDBXA64.so