The Application Debugging workspace can help you debug your MQ applications by providing
debugging trace data. Data for the workspace is available only if application debug trace is
collected on z/OSĀ® systems. PDS data
sets must exist at the agent address space. See Enabling PDS data sets at the MQ Monitoring Agent.
About this task
Do the following steps to configure the IBM MQ Monitoring
Agent
to collect data for this workspace.
Procedure
-
Enable the optional MQI Monitoring by following the instructions for optional configuration
in Optional configuration steps for enabling the Application Statistics feature for the IBM MQ Monitoring Agent.
- After the agent is running with MQI Monitoring active, you can issue a KMQCMD to the
agent to start trace, such as:
F CANSMQ,KMQCMD
SET APPL NAME(MYAPP) MGRNAME(MQM1) TRACE(YES) TRACELIMIT(1000) STATUS(ADD)
That command will cause 1000 MQI trace records to be collected for application MYAPP
before the trace stops. If you want to trace the same exact entity again, remember to issue the same
command except with STATUS(DELETE) first, before trying to do the STATUS(ADD) command again. Note
that you can issue these commands from the enhanced 3270UI, which are provided as part of Take
Actions to update agent parameters dynamically