Previous Topic: TRACEDEF Command: Identify Data SetsNext Topic: XCF DISPLAY Command: View XCF Attributes


TRACEPRT Command: Print Trace Data

To print trace data, use the TRACEPRT command.

Type: General command

Authority: To issue the TRACEPRT command, you require OPER authority.

This command has the following format:

TRACEPRT DSN(dsn[,dsn])
         [FROM(criteria)]
         [SELECT(id[:id])]
         [APPL(appl[,appl...])]
         [JOB(job[,job...])]
dsn

Indicates the name of one or more trace data sets.

criteria

Indicates any valid schedule criteria that represent a time range.

id

Indicates a trace ID to print. Ranges are supported.

appl

Allows the selection by application name. Wildcards are supported.

job

Allows the selection by jobname. Wildcards are supported.

Issue the TRACEPRT command in batch or from line mode, after collecting trace data from a TRACE command.

Note: For diagnostic purposes, the contents of the raw trace data set are required.

Related Information

For information on using the TRACE command, see the TRACE Command.

Example: Print a Trace Data Set

This example shows how to print CYBER.TRACE1 from 6 am yesterday to 6 am today.

TRACEPRT DSN('CYBER.TRACE1') FROM('6AM YESTERDAY UNTIL 6AM TODAY')

Example: Print Trace Data Set Based on an Application

This example shows how to print trace data set information for the PAYROLL application.

TRACEPRT DSN('CYBER.TRACE1') APPL(PAYROLL)

Example: Print a Range of Trace IDs

This example shows how to print trace IDs 601 - 603.

TRACEPRT DSN('CYBER.TRACE1') SELECT(601:603)