Using trace
You can use the strmqtrc and endmqtrc commands on the command line to start and end tracing. You can use the dspmqtrc command to format and view the trace.
The strmqtrc command has optional parameters to enable you to customize the trace file that is generated. You can trace one or more queue managers. You can trace one or more processes. You can trace specific threads within applications. You can trace events. You can also specify what level of trace detail you require. For more information about strmqtrc and the optional parameters, see strmqtrc (Start trace).
The endmqtrc command has optional parameters to enable you to control which entities the trace is ended for. For more information about these parameters, see endmqtrc (end trace).
After you generate the trace files, you can download them from the appliance. You can also use the dspmqtrc command to format and view them on the appliance.
- Use the strmqtrc command to specify details about the trace information that you want to collect.
- Use the endmqtrc command to end the trace.
- Use the command runmqras -section trace to export the trace information to a file. The command output gives you the file details.
- Use the copy command to download the trace file from the mqtrace: URI on the appliance to your local system. Alternatively, you can use the dspmqtrc command to format and view the trace file on the appliance.