Starting GTF for DB2 accounting, statistics and tuning
Instead of, or in addition to, recording accounting, statistics, and performance data to SMF, you can use DB2® to send this data to a generalized trace facility (GTF). DB2 provides -START TRACE and -STOP TRACE commands which you can issue from a CICS® terminal using the DSNC transaction.
About this task
Use the following commands with the DSNC transaction
to specify the trace scope, trace destination, and trace constraints:
- Trace scope
- Set this to GLOBAL for DB2 subsystem activity, PERF for performance, ACCTG for accounting, STAT for statistics, or MONITOR for monitoring activity.
- Trace destination
- GTF, in main storage, or SMF.
- Trace constraints
- Specific plans, authorization IDs, classes, location, and resource managers.