Retrieving further activity reports

To determine a message route, sufficient information must be available from the activity reports collected. If you retrieve the activity reports related to a message from the reply-to queue that the message specified, but you not have the necessary information, look for further activity reports.

About this task

To determine the locations of any further activity reports, perform the following steps:

Procedure

  1. For any queue managers in the queue manager network that deliver activity reports to a common queue, retrieve activity reports from the common queue that have a CorrelId that matches the MsgId of the original message.
  2. For any queue managers in the queue manager network that do not deliver activity reports to a common queue, retrieve activity reports as follows:
    1. Examine the existing activity reports to identify queue managers through which the message was routed.
    2. For these queue managers, identify the queue managers that are enabled for activity recording.
    3. For these queue managers, identify any that did not return activity reports to the specified reply-to queue.
    4. For each of the queue managers that you identify, check the system queue SYSTEM.ADMIN.ACTIVITY.QUEUE and retrieve any activity reports that have a CorrelId that matches the MsgId of the original message.
    5. If you find no activity reports on the system queue, check the queue manager dead letter queue, if one exists.
      An activity report can only be delivered to a dead letter queue if the report option, MQRO_DEAD_LETTER_Q, is set.
  3. Arrange all the acquired activity reports in order.
    The order of the activity reports then represents the route, or partial route, that the message took.
  4. Obtain the information you need from the activity information in the ordered activity reports.
    In some circumstances, recorded activity information cannot reach the specified reply-to queue, a common queue, or a system queue.