START TRACE command examples
The command examples show how to specify the different options of the START TRACE command.
If you do not specify a trace class, a default trace class is used. So, if you specify the following, data is collected only for Statistics class 1.
-START TRACE(S)
To collect Audit class 2 data, enter:
-START TRACE(AU) CLASS(2)
To collect only specific IFCIDs within a trace type, specify one of trace classes 30, 31, or 32, which are installation defined and contain no predefined IFCIDs. The following example shows how to collect only IFCIDs 44 and 45 (lock suspensions):
-START TRACE(P) CLASS(30) IFCID(44,45)
To collect Performance class 16 information and IFCID 68 and 69 data, specify:
-START TRACE(P) CLASS(16) IFCID(68,69)
If you want to start all trace classes of Accounting data, you can either use an asterisk or specify all trace classes.
-START TRACE(A) CLASS(*)
-START TRACE(A) CLASS(1,2,3,5,7,8)
The default destination for Accounting, Statistics, and Audit trace types is SMF, but you can route the trace data to GTF by specifying DEST(GTF) or to both SMF and GTF by specifying DEST(SMF,GTF) in the START TRACE command.
If you omit the TDATA option, correlation headers and distributed headers (if present) are included by default. However, specifying CPU overrides the default so that only CPU headers are included. If you want CPU, correlation, and distributed headers, specify all as in the following example:
-START TRACE(P) CLASS(1,2,3) DEST(GTF) TDATA(CPU,COR,DIST)