Formatting trace output
To format any trace output:
- Enter the QShell
- Enter the command
dspmqtrc [-t Format] [-h] [-s] [-o OutputFileName] InputFileNamewhere:
- InputFileName
- Is a required parameter specifying the name of the file containing the unformatted trace. For example
/QIBM/UserData/mqm/trace/AMQ12345.TRC.
- -t FormatTemplate
- Specifies the name of the template file containing details of how to display the trace. The default value is
/QIBM/ProdData/mqm/lib/amqtrc.fmt.
- -h
- Omit header information from the report.
- -s
- Extract trace header and put to stdout.
- -o output_filename
- The name of the file into which to write formatted data.
We can also specify
dspmqtrc * to format all trace.