endmqtrc (end trace)

Purpose

Use the endmqtrc command to end tracing for the specified entity or all entities.

Syntax

The syntax of this command in WebSphere MQ for UNIX systems is as follows:

Read syntax diagramSkip visual syntax diagram>>-endmqtrc--+--------------+--+------+--+------+--------------><
             '- -m QMgrName-'  '- -e -'  '- -a -'

The syntax of this command in WebSphere MQ for Windows is as follows:

Read syntax diagramSkip visual syntax diagram>>-endmqtrc----------------------------------------------------><

Optional parameters

The following parameters can be specified on WebSphere MQ for UNIX systems only:

-m QMgrName
The name of the queue manager for which to end tracing.

A maximum of one -m flag and associated queue manager name can be supplied on the command.

A queue manager name and -m flag can be specified on the same command as the -e flag.

-e
Ends early tracing.
-a
Ends all tracing.

This flag must be specified alone.

Return codes

AMQ5611 This message is issued if you supply invalid arguments to the command.

Examples

This command ends tracing of data for a queue manager called QM1.

endmqtrc -m QM1

Related commands

dspmqtrc Display formatted trace output
strmqtrc Start trace