WebSphere MQ stub programs and library files

The stub programs and library files provided are listed here, for each platform.

For more information about how to use stub programs and library files when you build an executable application, see Building a WebSphere MQ application. For information about linking to C++ library files, see WebSphere MQ Using C++.

WebSphere MQ for z/OS

Before you can run a program written with WebSphere MQ for z/OS, you must link-edit it to the stub program supplied with WebSphere MQ for z/OS for the environment in which you are running the application. The stub program provides the first stage of the processing of your calls into requests that WebSphere MQ for z/OS can process.

WebSphere MQ for z/OS supplies the following stub programs:

CSQBSTUB Stub program for z/OS batch programs
CSQBRRSI Stub program for z/OS batch programs using RRS via the MQI
CSQBRSTB Stub program for z/OS batch programs using RRS directly
CSQCSTUB Stub program for CICS(R) programs
CSQQSTUB Stub program for IMS(TM) programs
CSQXSTUB Stub program for distributed queuing non-CICS exits
CSQASTUB Stub program for data-conversion exits
Note:
If you use the CSQBRSTB stub program, link-edit with ATRSCSS from SYS1.CSSLIB. (SYS1.CSSLIB is also known as the Callable Services Library). For more information about RRS see Transaction management and recoverable resource manager services.

Alternatively, you can dynamically call the stub from within your program. This technique is described in Dynamically calling the WebSphere MQ stub.

In IMS, you might also need to use a special language interface module that is supplied by WebSphere MQ.

WebSphere MQ for iSeries

In WebSphere MQ for iSeries, 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:

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 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:

LIBMQM_R Server service program
IMQB23I4_R C++ base service program
IMQS23I4_R C++ server service program
LIBMQMZF_R Installable exits for C

On WebSphere MQ for iSeries 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 WebSphere MQ Using C++.

WebSphere MQ for Windows

On WebSphere MQ for Windows, you must 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:

MQM.LIB Server for 32-bit C
MQIC.LIB Client for 16-bit C
MQIC32.LIB Client for 32-bit C
MQMXA.LIB Static XA interface for C
MQMCICS.LIB CICS for Windows NT(R) V2 exits for C
MQMCICS4.LIB TXSeries(R) for Windows NT, V4 exits for C
MQMZF.LIB Installable services exits for C
MQMCBB.LIB Server for 32-bit IBM(R) COBOL
MQMCB32 Server for 32-bit Micro Focus COBOL
MQICCBB.LIB Client for 32-bit IBM COBOL
MQICCB32 Client for 32-bit Micro Focus COBOL
IMQ*.LIB Server for C++
MQMENC.LIB Dynamic XA interface in C for Encina(R)
MQMTUX.LIB Dynamic XA interface in C for Tuxedo

WebSphere MQ for AIX

On WebSphere MQ for AIX, you must 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.

In a non-threaded application:

libmqm.a Server for C
libmqic.a Client for C
libmqmzf.a Installable service exits for C
libmqmxa.a XA interface for C
libmqmcbrt.o WebSphere MQ run-time library for Micro Focus COBOL support
libmqmcb.a Server for COBOL
libmqicb.a Client for COBOL
libimqc23ia.a Client for C++
libimqs23ia.a Server for C++

In a threaded application:

libmqm_r.a Server for C
libmqic_r.a Client for C
libmqmzf_r.a Installable service exits for C
libmqmxa_r.a XA interface for C
libimqc23ia_r.a Client for C++
libimqs23ia_r.a Server for C++
libmqmxa_r.a For Encina

WebSphere MQ for HP-UX

On WebSphere MQ for HP-UX, you must 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.

In a non-threaded application:

libmqm.sl Server for C
libmqic.sl Client for C
libmqmzf.sl Installable service exits for C
libmqmxa.sl XA interface for C
libimqi23ah.sl C++
libmqmcbrt.o WebSphere MQ run-time library for Micro Focus COBOL support
libmqmcb.sl Server for COBOL
libmqicb.sl Client for COBOL

In a threaded application:

libmqm_r.sl Server for C
libmqmzf_r.sl Installable service exits for C
libmqmxa_r.sl XA interface for C
libimqi23ah_r.sl C++

WebSphere MQ for Linux

On WebSphere MQ for Linux, you must 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.

In a non-threaded application:

libmqm.so Server for C
libmqic.so Client for C
libmqmzf.so Installable service exits for C
libmqmxa.so XA interface for C
libimqc23gl.so Client for C++
libimqs23gl.so Server for C++

In a threaded application:

libmqm_r.so Server for C
libmqic_r.so Client for C
libmqmzf_r.so Installable service exits for C
libmqmxa_r.so XA interface for C
libimqc23gl_r.so Client for C++
libimqs23gl_r.so Server for C++

WebSphere MQ for Solaris

On WebSphere MQ for Solaris, you must 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.

libmqm.so Server for C
libmqmzse.so For C
libmqic.so Client for C
libmqmcs.so Client for C
libmqmzf.so Installable service exits for C
libmqmxa.a XA interface for C
libimqc23as.a Client for C++
libimqs23as.a Server for C++