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

Linking applications with DTM XA Interface libraries [Table of Contents] Using the DTM XA Interface
with TUXEDO

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

[-] Chapter 3 Configuring the XA Environment
[-] Using the DTM XA Interface with Encina
[-] Establishing connections

Establishing connections

The TM, together with the DTM XA Interface library, establishes connections between applications and RMs in several steps:

  1. An application issues a mon_RegisterRmi function, thereby requesting use of an LRM.

  2. Using information contained in an open string, the TM issues an XA open call to the LRM (configured in the monadmin create rm command) whose name matches that issued in step 1, above.

  3. The TM passes the open string associated with each monadmin create rm command to the DTM XA Interface. The open string contains the LRM name.

  4. The DTM XA Interface looks up the LRM name in the XA configuration file and matches it to an actual RM name--that is, to an actual physical Adaptive Server. The RM name matches an entry in the Adaptive Server interfaces file.

  5. The DTM XA Interface establishes one logical connection to an Adaptive Server for each LRM entry. It then confers on any connection the preconnection properties and capabilities configured for the LRM.


Linking applications with DTM XA Interface libraries [Table of Contents] Using the DTM XA Interface
with TUXEDO