Linking COBOL applications with the IBM MQ MQI client code
Having written a COBOL application that we want to run on the IBM MQ MQI client, we must link it with an appropriate library.
IBM MQ provides a client library file for each environment:
- AIX
- Link your non-threaded COBOL application with the library libmqicb.a or threaded COBOL application with libmqicb_r.a.
- IBM i
- Bind COBOL client application with AMQCSTUB service program for non-threaded applications, or AMQCSTUB_R service program for threaded applications.
- Windows
- Link the application code with the MQICCBB library for 32-bit COBOL. The IBM MQ MQI client for Windows does not support 16-bit COBOL.
Parent topic: Building applications for IBM MQ MQI clients