Global trace facility

The Db2 global trace is used to obtain information about program flow, the entries to and exits from Db2 functions and modules, to help resolve problems. The global trace is intended to be used under the direction of IBM® support personnel.

Begin program-specific programming interface information.

This information explains the different destinations to which global trace records can be sent, how to start, change, display, and stop the Db2 global trace, how to locate the trace tables, and how the trace records in the trace tables are formatted.

To use this command, you must have one of the following authorities:

  • SYSADM or SYSOPR authority
  • Authority to issue start/stop trace commands (trace authority)
  • Authority to issue the display trace command (display authority)

The following commands control the global trace:

  • -START TRACE(GLOBAL)
  • -DISPLAY TRACE(GLOBAL)
  • -MODIFY TRACE(GLOBAL)
  • -STOP TRACE(GLOBAL)

End program-specific programming interface information.