Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Dump User Trace Buffer (DMPUSRTRC) command formats trace records in the user trace buffer for the specified job. The formatted trace records can be written to a database file or to the stdout special file.
Trace records are written to a user trace buffer using the Qp0zUprintf, Qp0zDump, Qp0zDumpStack, and Qp0zDumpTargetStack APIs. Refer to the System API Reference information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter, OS/400 UNIX-type APIs for more information on the Problem Determination APIs.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
JOB | Job name | Single values: * Other values: Qualified job name |
Optional, Positional 1 |
Qualifier 1: Job name | Name | ||
Qualifier 2: User | Name | ||
Qualifier 3: Number | 000000-999999 | ||
TRCRCID | Trace record identifiers | Values (up to 2 repetitions): *THD, *JOB | Optional |
OUTPUT | Output | *FILE, *STDOUT | Optional |
SLTTHD | Thread IDs to include | Single values: *ALL Other values (up to 8 repetitions): Hexadecimal value |
Optional |
OMTTHD | Thread IDs to exclude | Single values: *NONE Other values (up to 8 repetitions): Hexadecimal value |
Optional |
Top |
Specifies the job for which the user trace buffer is being dumped.
The possible values are:
Top |
Specifies the record identifiers to be used in the formatted tracepoint records. Up to two identifiers can be specified.
The possible values are:
Top |
Specifies where the output from the command is directed to.
The possible values are:
Top |
Specifies a list of up to eight threads whose trace records are to be included. Only trace records for threads with the specified thread identifiers are included.
Note: This parameter and the OMTTHD parameter are mutually exclusive.
The possible values are:
Top |
Specifies a list of up to eight threads whose trace records are to be excluded. Trace records for all threads except those specified are included.
Note: This parameter and the SLTTHD parameter are mutually exclusive.
The possible values are:
Top |
Example 1: Dumping the Current User Trace Information
DMPUSRTRC
This command formats the user trace information for the current job and writes the formatted trace records to file QAP0ZDMP in library QTEMP.
Example 2: Dumping a Trace for a Specific Job
DMPUSRTRC JOB(004842/ACCT/WS6) OUTPUT(*STDOUT)
This command formats the user trace information for job WS6, which is associated with the user profile ACCT, and has the job number 004842, writing the formatted trace records to the stdout special file.
Top |
*ESCAPE Messages
Top |