Home
Create the Sybase switch load file
The easiest way to create the Sybase switch load file is to use the sample files supplied with WebSphere MQ.
On Windows systems, we can find xaswit.mak in the directory C:\\IBM\WebSphere MQ\tools\c\samples\xatm. To create the Sybase switch load file with Microsoft Visual C++, use:
nmake /f xaswit.mak sybswit.dllThe 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 Sybase you are using. Then execute the makefile using the command:
make -f xaswit.mak sybswitThe 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:
Sybase configuration
fa13750_
Home