Starting WebSphere MQ trace
We can start the WebSphere MQ trace facility at any time by issuing the WebSphere MQ START TRACE command.
Accounting data can be lost if the accounting trace is started or stopped while applications are running. To collect accounting data successfully, the following conditions must apply:
- The accounting trace must be active when an application starts, and it must still be active when the application finishes.
- If the accounting trace is stopped, any accounting data collection that was active stops.
We can also start collecting some trace information automatically if you specify YES on the SMFSTAT (SMF STATISTICS) and SMFACCT (SMF ACCOUNTING) parameters of the CSQ6SYSP macro (described in Using CSQ6SYSP).
We cannot use this method to start collecting class 3 accounting information (thread-level and queue-level accounting). You must use the START TRACE command to do this (however, we can include the command in your CSQINP2 input data set so that the trace is started automatically when you start your queue manager).
Before starting a WebSphere MQ trace, read Using System Management Facility.