IBM MQ for IBM i

In IBM® MQ for IBM i, link your program to the MQI library files supplied for the environment in which you are running your application, in addition to those provided by the operating system.

For non-threaded applications:

Table 1. Library files for non-threaded IBM i applications
Library file Environment
AMQZSTUB Server service program provided for compatibility with releases before V5R1M0
AMQVSTUB Data conversion service program provided for compatibility with releases before V5R1M0
LIBMQM Server and Client service program
LIBMQIC Client service program
IMQB23I4 C++ base service program
IMQS23I4 C++ server service program
LIBMQMZF Installable exits for C

In a threaded application:

Table 2. Library files for threaded IBM i applications
Library file Environment
LIBMQM_R Server & client service program
IMQB23I4_R C++ base service program
IMQS23I4_R C++ server service program
LIBMQMZF_R Installable exits for C
LIBMQIC_R Client service program

On IBM MQ for IBM i, you can write your applications in C++. To see how to link your C++ applications, and for full details of all aspects of using C++, see Using C++.