14.4. DB2 tracing

The DB2 command START TRACE starts DB2 traces. This command can be issued from an MVS console, a DSN session, a DB2I panel (DB2 COMMANDS), an IMS or CICS terminal, or a program using the instrumentation facility interface (IFI). To execute this command, the privilege set of the process must include one of the following:

  • TRACE privilege

  • SYSOPR, SYSCTRL, or SYSADM authority

DB2 commands issued from an MVS console are not associated with any secondary authorization IDs. The format of the START TRACE command is:

START TRACE (PERFM)   DEST(GTF)   PLAN(plan_name,..) CLASS(class)
         (ACCTG)       (SMF)
         (STAT)        (SRV)
         (AUDIT)       (OP)
         (MONITOR)     (OPX)

You must specify a trace type. The options PERFM, ACCTG, STAT, AUDIT, and MONITOR identify the type of ...

Get z/OS Diagnostic Data Collection and Analysis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.