MQI procedures
When using the ILE bound calls, bind to the MQI procedures when you create your program. These procedures are exported from the following service programs as appropriate:
- QMQM/AMQZSTUB
- This service program provides compatibility bindings for applications written prior to MQSeries V5.1 that do not require access to any of the new capabilities provided in version 5.1. The signature of this service program matches that contained in version 4.2.1.
- QMQM/LIBMQM
- This service program contains the single-threaded bindings for version 5.1 and above. See below for special considerations when writing threaded applications.
- QMQM/LIBMQM_R
- This service program contains the multi-threaded bindings for version 5.1 and above. See below for special considerations when writing threaded applications.
Use the
CRTPGM command to create your programs. For example, the following command creates a single-threaded program that uses the ILE bound calls:
CRTPGM PGM(MYPROGRAM) BNDSRVPGM(QMQM/LIBMQM)