Prepare your program to run

 

After you have written the program for your WebSphere 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 WebSphere 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), or UNIX System services) in which the application runs, and the structure of the data sets on your z/OS installation. The details are described in the following sections.

Dynamically calling the WebSphere MQ stub describes an alternative method of making MQI calls in your programs so that you do not need to link-edit a WebSphere 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 WebSphere 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 WebSphere MQ for z/OS V6..

 

Parent topic:

Building your application on z/OS


fg16770_