Printing a job trace
This action formats and writes the stored trace records to a spooled output file or to a database output file.
To print a job trace, follow these steps:
- At the command line, type PRTTRC (Print Trace),
and press F4 (Prompt).
- For the Data member prompt, type mytrace.
- For the Data library prompt, type lib.
This is the same library you specified under the ENDTRC command, and press Enter.
- Programmatically process the trace information that was collected with the help of outfile support. This is most useful if you want to develop your own custom trace output formatter. The outfile parameter is used with the PRTTRC command.
The PRTTRC (Print Trace) command can use a substantial amount of processing time and resources. If you have a limited amount of interactive capability available on your system, you might want to submit the PRTTRC to batch.
Parent topic:
Job trace