Sample PL/I programs are supplied with WebSphere MQ. PL/I include files are also provided so that the C entry points in the WebSphere MQ libraries can be invoked directly.
To prepare a PL/I program:
pli amqpput0.pli ilink amqpput0.obj mqm.lib