Compiling API exits

 

Once you have written an exit, you compile and link it as follows. The following examples show the commands used for the sample program described in The API exit sample program. For platforms other than Windows systems, we can find the sample API exit code in install-dir/samp and the compiled and linked shared library in install-dir/samp/bin. For Windows systems, we can find the sample API exit code in install-dir\Tools\c\Samples. install-dir is the directory in which WebSphere MQ was installed.

Note to users:

  1. Guidance on programming 64 bit applications is listed in Coding standards on 64 bit platforms

For information on configuring API exits, see the WebSphere MQ System Administration Guide.

 

Parent topic:

Using and writing API exits


fg14160_