Tracing for selected tasks
You can select which tasks are to have standard tracing, which are to have special tracing, and which are to have tracing suppressed. If you specify standard tracing for a task, trace entries are made at all the trace points in the standard set. If you specify special task tracing, you get trace entries at all the trace points in the special set. If you suppress tracing for a task, you do not get any tracing done (except exception tracing) when that task is running.
For transactions that run at terminals, a task is considered to be an instance of a transaction run at a specific terminal. By defining the type of tracing you want by transaction and terminal, you automatically define what task tracing is to be done.
For non-terminal transactions, a task is just an instance of the transaction. The type of tracing you define for the transaction alone defines the type of task tracing that is to be done.
OPTION on TRANSACTION | OPTION on TERMINAL | Task tracing |
---|---|---|
tracing suppressed | standard tracing | SUPPRESSED |
tracing suppressed | special tracing | SUPPRESSED |
standard tracing | standard tracing | STANDARD |
standard tracing | special tracing | SPECIAL |
special tracing | standard tracing | SPECIAL |
special tracing | special tracing | SPECIAL |
The status can be any one of STANDARD, SPECIAL, or SUPPRESSED for the transaction, and either STANDARD or SPECIAL for the terminal.
- You can turn standard tracing off for all tasks by setting the main system trace flag off. You can do this with the CETR transaction, using the screen shown in CETR - trace control, or you can code SYSTR=OFF at system initialization. However, any special task tracing will continue, it is not affected by the setting of the system main trace flag.
- If you run with standard tracing turned off and you specify levels of tracing for the required components under the "Special" heading in the Components Trace Options screen shown in Figure 1, you can use CETR to trace a single transaction. To do this, specify the transaction ID and a transaction status of SPECIAL, on the screen shown in Figure 1.