Home

 

Create the Oracle switch load file

 

The easiest way to create the Oracle 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 Oracle switch load file with Microsoft Visual C++, use:

nmake /f xaswit.mak oraswit.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 Oracle you are using. Then execute the makefile using the command:

make -f xaswit.mak oraswit

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:

Oracle configuration


fa13640_


 

Home