configuring an extended transactional client, use by CICS, xa_open string, switch load file, XA switch structure" /> Configure for CICS
Home

 

Configuring for CICS

You configure an extended transactional client for use by CICS by adding an XAD resource definition to a CICS region. We can do this by using the CICS resource definition online (RDO) command, cicsadd. The XAD resource definition specifies the following information:

One switch load file is supplied for use by CICS on each of the following platforms: AIX, HP-UX, Solaris, and Windows systems. Each switch load file contains a function that returns a pointer to the XA switch structure that is used for dynamic registration, MQRMIXASwitchDynamic. See Table 15 for the fully qualified path name of each switch load file.

Table 15. The switch load files
Platform Switch load file
AIX /usr/mqm/lib/amqczsc
HP-UX
Solaris
/opt/mqm/lib/amqczsc
Windows systems C:\\IBM\WebSphere MQ\bin\mqcc4swi.dll 1
Notes:

  1. This is the default location for the file, but you might have installed it in a different location.

Note that we cannot use the switch load files with TXSeries Version 5.0. However, the source of the switch load files is provided in amqzscix.c, for AIX, HP-UX, and Solaris, and in amqzscin.c, for Windows systems. We can therefore build your own switch load file to use with TXSeries Version 5.0. You might also build your own switch load file if, for example, you do not want to use dynamic registration.

Here is an example of an XAD resource definition for Windows systems:

cicsadd -c xad -r REGION1 WMQXA \
    ResourceDescription="WebSphere MQ queue manager MARS" \
    XAOpen="channel=MARS.SVR,trptype=tcp,conname=MARS(1415),qmname=MARS,tpm=cics" \
    SwitchLoadFile="C:\\IBM\WebSphere MQ\bin\mqcc4swi.dll"

For more information about adding an XAD resource definition to a CICS region, see the CICS Administration Reference and the CICS Administration Guide for your platform.

Note the following information about using CICS with an extended transactional client:



 

Home