+

Search Tips | Advanced Search

Running the example

After setting up the sample, we can run the sample.

For Configuration 1:
  1. Start queue managers QMG1, QMG2, and QMG3.
  2. Start channel initiators for QMG2 and QMG3.
  3. Start the listeners on QMG1 to listen to port 1414, QMG2 to listen on port 1415, and QMG3 to listen on port 1416.
  4. Start sender channels on QMG1, QMG2, and QMG3.
  5. Start the payroll query requesting application connected to QMG1.
  6. Start the payroll server application connected to QMG3.
  7. Submit a payroll query request to QMG3 and wait for the payroll reply.

For Configuration 2:

  1. Start queue managers QMG1, QMG2, and QMG3.
  2. Start the channel initiator for QMG2.
  3. Start the listeners on QMG1 to listen on port 1414, and QMG2 to listen on port 1415.
  4. Start the sender channel on QMG1 and QMG2.
  5. Start the payroll query requesting application connected to QMG1.
  6. Start the payroll server application connected to QMG3.
  7. Submit a payroll query request to QMG3 and wait for the payroll reply.

For Configuration 3:

  1. Start queue managers QMG1, QMG2, and QMG3.
  2. Start the channel initiator for QMG2.
  3. Start the listeners on QMG1 to listen on port 1414, and QMG2 to listen on port 1415.
  4. Start sender channels on QMG1 and QMG2.
  5. Start the payroll query requesting application connected to QMG1.
  6. Start the payroll server application connected to QMG3.
  7. Submit a payroll query request to QMG3 and wait for the payroll reply.

Parent topic: Example MQ configuration for z/OS using intra-group queuing

Last updated: 2020-10-04