Distributing work across LRMs

The System Administrator and the application programmer together must agree on the number and names of LRMs that their Sybase XA environment includes.

The System Administrator configures the TM and Sybase XA configuration files accordingly. The application programmer invokes a particular LRM name within the application code to send a portion of a global transaction across that connection. The TM coordinates this distribution.

You can configure the Sybase XA environment for more connections than are actually used. That is, the XA configuration file may contain inactive entries.

Figure 2-4 depicts the relationship between the Sybase XA configuration file, TM configuration file, application code, and Adaptive Server interfaces file for a CICS environment.

Figure 2-4: Relating components of the Sybase XA environment for CICS

This figure shows how the components of the Sybase XA environment look highlighted by separating out the portions of text to make it easier to understand the various sections and components.