Investigating individual tasks

We can use the accounting trace to gather information about WebSphere MQ tasks. These trace records tell you a great deal about the activity that the task has performed, and about how much time the task spent suspended, waiting for latches. The trace record also includes information about how much DB2 and Coupling Facility activity was performed by the task.

This is described in Interpreting WebSphere MQ accounting data.

Long running units of work can be identified by the presence of message CSQR026I in the job log. This message indicates that a task has existed for more than three queue manager checkpoints and its log records have been shunted. For a description of log record shunting, see WebSphere MQ for z/OS Concepts and Planning Guide.