Preparing C programs

Precompiled C programs are supplied in the /usr/mqm/samp/bin directory. Use the ANSI compiler and run the following command:

  $ cc -o <amqsput> <amqsput>.c -lmqm

where amqsput is a sample program.

If you want to use the programs on a machine which has only the WebSphere MQ client for AIX installed, recompile the programs to link them with the client library (-lmqic) instead.

Linking libraries

You will need the following libraries:



© IBM Corporation 1993, 2002. All Rights Reserved