Compiling the switch-load file on Sun Solaris 2.x (SPARC)  Using the DTM XA Interface with Encina

Chapter 3: Configuring the XA Environment

Adding a Sybase stanza to the CICS region XAD definition

The CICS TM uses CICS XAD information to communicate with other RMs. The XAD definition contains one Sybase stanza for each LRM. For a description of an XAD stanza’s attributes, see your CICS documentation.

Below are two sample Sybase XAD stanzas. Use the SMIT utility to add stanzas to your CICS region:

betaOne:
GroupName=""
ActivateOnStartup=yes
ResourceDescription="XA Product Definition"
AmendCounter=2
Permanent=no
SwitchLoadFile="/usr/lpp/sybase/sample/xa_library/
                 cics/switch/sybasexa"
XAOpen="-Uuser_1 -Ppassword_1 -Nconnection_1"
XAClose="ignored"
XASerialize=all_operations


betaTwo:
GroupName=""
ActivateOnStartup=yes
ResourceDescription="XA Product Definition"
AmendCounter=2
Permanent=no
SwitchLoadFile="/usr/lpp/sybase/sample/xa_library/
                 cics/switch/sybasexa"
XAOpen="-Uuser_2 -Ppassword_2 -Nconnection_2"
XAClose="ignored"
XASerialize=all_operations

The following fields are configuration-dependent and must be modified:

NoteAll Sybase stanzas can use the same switch-load file.

See “Open string parameters for DTM XA Interface” for information about the contents specified in the XAOpen string of the XAD Definition.





Copyright © 2005. Sybase Inc. All rights reserved. Using the DTM XA Interface with Encina

View this book as PDF