Use trace
We can use different types of trace to help you with problem determination and troubleshooting.
About this task
Use this information to find out about the different types of trace, and how to run trace for the platform.
- Use trace on Windows
Use the strmqtrc and endmqtrc commands or the IBM MQ Explorer interface to start and end tracing.- Use trace on UNIX and Linux systems
Use the strmqtrc and endmqtrc commands to start and end tracing, and dspmqtrc to display a trace file- Use trace on HP Integrity NonStop Server
Use the strmqtrc and endmqtrc commands to start and end tracing, and dspmqtrc to display a trace file.- Use trace with IBM MQ server on IBM i
Use the TRCMQM command to start and stop tracing and specify the type of trace that you require.- Use trace with IBM MQ client on IBM i
On IBM i, there is no Control Language (CL) command to capture the trace when using a stand-alone IBM MQ MQI client. STRMQTRC and ENDMQTRC programs can be used to enable and disable the trace.- Use trace for problem determination on z/OS
There are different trace options that can be used for problem determination with IBM MQ. Use this topic to understand the different options and how to control trace.- Tracing the Advanced Message Queuing Protocol (AMQP) Service
The trace facility provided by the Advanced Message Queuing Protocol (AMQP) Service is provided to help IBM Support to diagnose customer issues related to the service.- Tracing TLS: runmqakm, strmqiqm, and runmqckm functions
How to trace Transport Layer Security (TLS), and request runmqakm tracing and strmqiqm (iKeyman) and runmqckm (iKeycmd) tracing.- Tracing IBM MQ classes for JMS applications
The trace facility in IBM MQ classes for JMS is provided to help IBM Support to diagnose customer issues. Various properties control the behavior of this facility.- Tracing IBM MQ classes for Java applications
The trace facility in IBM MQ classes for Java is provided to help IBM Support to diagnose customer issues. Various properties control the behavior of this facility.- Tracing the IBM MQ resource adapter
The ResourceAdapter object encapsulates the global properties of the IBM MQ resource adapter. To enable trace of the IBM MQ resource adapter, properties need to be defined in the ResourceAdapter object.- Tracing additional IBM MQ Java components
For Java components of IBM MQ, for example the IBM MQ Explorer and the Java implementation of IBM MQ Transport for SOAP, diagnostic information is output using the standard IBM MQ diagnostic facilities or by Java diagnostic classes.- Control trace in a running process by using IBM MQ classes for Java and IBM MQ classes for JMS
The IBM MQ classes for Java and IBM MQ classes for JMS register a Standard MBean that allows suitable Java Management Extensions (JMX) tools to control certain aspects of trace behavior for a client process.- Tracing Managed File Transfer resources on Multiplatforms
The trace facility in Managed File Transfer is provided to help IBM Support diagnose your problems and issues. We can trace various different resources.- Tracing Managed File Transfer for z/OS resources
The trace facility in Managed File Transfer for z/OS is provided to help IBM Support diagnose your problems and issues. We can trace various different resources.- Tracing the REST API
The trace facilities in the REST API are provided to help IBM staff to diagnose customer problems. Various properties control the behavior of these facilities.- Tracing the New Web Console
The trace facilities in the New Web Console are provided to help IBM staff to diagnose customer problems. Various properties control the behavior of these facilities.- Tracing the Dashboard Web Console
The trace facilities in the Dashboard Web Console are provided to help IBM staff to diagnose customer problems. Various properties control the behavior of these facilities.- Tracing the IBM MQ Bridge to Salesforce
The trace facilities for the IBM MQ Bridge to Salesforce are provided to help IBM staff to diagnose customer problems. Enable the trace for the IBM MQ Bridge to Salesforce and define the debug level when we issue the runmqsfb command to start the bridge.- Tracing the IBM MQ Bridge to blockchain
The trace facilities for the IBM MQ Bridge to blockchain are provided to help IBM staff to diagnose customer problems. Enable the trace for the IBM MQ Bridge to blockchain and define the debug level when we issue the runmqbcb command to start the bridge.- Configure trace for XMS .NET applications
If we are using IBM MQ classes for XMS .NET Framework, we can configure trace from an application configuration file as well as from the XMS environment variables. If we are using IBM MQ classes for XMS .NET Standard, we must configure trace from the XMS environment variables. We can select the components that we want to trace. Trace is normally used under the guidance of IBM Support.- Enable dynamic tracing of LDAP client library code
From IBM MQ Version 9.1.0, Fix Pack 4 and IBM MQ Version 9.1.4, it is possible to switch LDAP client trace on and off without also stopping or starting the queue manager.Parent topic: IBM MQ Troubleshooting and support
Related concepts
Related tasks