Print 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:

  1. At the command line, type PRTTRC (Print Trace), and press F4 (Prompt).
  2. For the Data member prompt, type mytrace.
  3. For the Data library prompt, type lib. This is the same library you specified under the ENDTRC command, and press Enter.
  4. 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.
Note: 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.
Related information
Print Trace Data (PRTTRC) command