Preparing your program to run
After you have written the program for the IBM MQ application to create an executable application, you have to compile or assemble it, then link-edit the resulting object code with the stub program that IBM MQ for z/OS supplies for each environment that it supports.
How you prepare your program depends on both the environment (batch, CICS, IMS(BMP or MPP), Linux or UNIX System services) in which the application runs, and the structure of the data sets on your z/OS installation.
Dynamically calling the IBM MQ stub describes an alternative method of making MQI calls in your programs so that we do not need to link-edit an IBM MQ stub. This method is not available for all languages and environments.
Do not link-edit a higher level of stub program than that of the version of IBM MQ for z/OS on which your program is running. For example, a program running on MQSeries for OS/390, V5.2 must not be link-edited with a stub program supplied with IBM MQ for z/OS V7.
- Building 64 bit C applications
In z/OS, 64 bit C applications are built using the LP64 compiler and binder options. The IBM MQ for z/OS cmqc.h header file recognizes when this option is provided to the compiler, and generates IBM MQ datatypes and structures appropriate for 64 bit operation. - Building z/OS batch applications
Learn how to build z/OS batch applications and the steps to consider when doing so. - Building z/OS batch applications using Language Environment
IBM MQ for z/OS provides a set of dynamic link libraries (DLLs) that must be used when you link-edit the applications. - Building CICS applications in z/OS
Use this information when building CICS applications in z/OS. - Building IMS (BMP or MPP) applications
Use this information when building IMS (BMP or MPP) applications. - Building z/OS UNIX System Services applications
Use this information when building z/OS UNIX System Services applications.
Parent topic: Building your procedural application on z/OS