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 -I/usr/mqm/inc /usr/mqm/lib/libmqm.a