Linking COBOL applications with the IBM MQ MQI client code
Having written a COBOL application to run on the IBM MQ MQI client, you 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.
- HP-UX
- Link your non-threaded COBOL application with the library libmqicb.sl or threaded COBOL application with libmqicb_r.sl.
- Linux
- Link your non-threaded COBOL application with the library libmqicb.so or threaded COBOL application with libmqicb_r.so.
- IBM i
- Bind COBOL client application with AMQCSTUB service program for non-threaded applications, or AMQCSTUB_R service program for threaded applications.
- Solaris
- Link your non-threaded COBOL application with the library libmqicb.so or threaded COBOL application with libmqicb_r.so.
- Windows
- Link our application code with the MQICCBB library for 32-bit COBOL. The IBM MQ MQI client for Windows does not support 16-bit COBOL.