On AIX

32 bit applications

Non-threaded

A file called amqsaxe.exp is supplied and contains the following:

 #!
 EntryPoint
 MQStart

Compile the API exit source code by issuing the following command:

 cc -e MQStart -bE:amqsaxe.exp -bM:SRE -o /var/mqm/exits/amqsaxe \
     amqsaxe0.c -I/usr/mqm/inc -L/usr/mqm/lib -lmqm
Threaded

A file called amqsaxe.exp is supplied and contains the following:

 #!
 EntryPoint
 MQStart

Compile the API exit source code by issuing the following command:

xlc_r -e MQStart -bE:amqsaxe.exp -bM:SRE -o /var/mqm/exits/amqsaxe_r \
     amqsaxe0.c -I/usr/mqm/inc -L/usr/mqm/lib -lmqm_r

64 bit applications

Non-threaded

A file called amqsaxe.exp is supplied and contains the following:

 #!
 EntryPoint
 MQStart

Compile the API exit source code by issuing the following command:

 cc -q64 -e MQStart -bE:amqsaxe.exp -bM:SRE -o /var/mqm/exits64/amqsaxe \
     amqsaxe0.c -I/usr/mqm/inc -L/usr/mqm/lib64 -lmqm
Threaded

A file called amqsaxe.exp is supplied and contains the following:

 #!
 EntryPoint
 MQStart

Compile the API exit source code by issuing the following command:

 xlc_r -q64 -e MQStart -bE:amqsaxe.exp -bM:SRE -o /var/mqm/exits64/amqsaxe_r \
     amqsaxe0.c -I/usr/mqm/inc -L/usr/mqm/lib64 -lmqm_r