Connecting to WebSphere MQ Applications

To use your ACUCOBOL-GT program with IBM's WebSphere MQ, you must perform the following steps:

  1. Install and configure the WebSphere MQ client software as described in the IBM documentation.
  2. Add the necessary WebSphere MQ calls to your ACUCOBOL-GT program.
  3. Define a message buffer and any other variables in Working-Storage.
  4. Compile your program using the "-D5" data format switch.
  5. Configure the runtime and environment by setting the USE_MQSERIES configuration variable and MQSERVER environment variable.

These steps are described in more detail in the following sections.