Home

 

Create the Informix switch load file

 

The easiest way to create the Informix switch load file is to use the sample file xaswit.mak, which WebSphere MQ provides to build the switch load files for a variety of database products.

On Windows systems, we can find xaswit.mak in the directory C:\\IBM\WebSphere MQ\tools\c\samples\xatm. To create the Informix switch load file with Microsoft Visual C++, use:

nmake /f xaswit.mak infswit.dll
The generated switch file is placed in c:\Program Files\IBM\WebSphere MQ\exits.

On AIX, we can find xaswit.mak in the directory /usr/mqm/samp/xatm; on other UNIX systems, we can find it in the directory /opt/mqm/samp/xatm.

Edit xaswit.mak to uncomment the lines appropriate to the version of Informix you are using. Then execute the makefile using the command:

make -f xaswit.mak infswit

The generated 32-bit switch load file is placed in /var/mqm/exits.

The generated 64-bit switch load file is placed in /var/mqm/exits64.

 

Parent topic:

Informix configuration


fa13700_


 

Home