ARCHIVE TRACE

The ARCHIVE TRACE utility offloads the contents of the DC/UCF trace area to an archive file.
idmscu19
The ARCHIVE TRACE utility offloads the contents of the DC/UCF trace area to an archive file.
Authorization
To archive trace information you need DBAWRITE privileges in the SYSTEM.DDLDCTRC area.
Syntax
The following diagram shows the syntax for the ARCHIVE TRACE utility statement:
  ►►─ ARCHIVE TRACE ─┬────────────────────┬─────────────────────────►◄                    └─ PRINT ──┬───────┬─┘                               └─ UTC ─┘  
Parameters
This section describes the parameters for the ARCHIVE TRACE utility:
  • PRINT
    Prints a copy of the contents of the archived trace information. If you do not specify PRINT, a copy of the archived trace information is not printed.
    For a description of the output produced by the PRINT option of the ARCHIVE TRACE utility, see the PRINT TRACE Utility.
  • UTC
    Displays the time stamps of each print line as UTC time. If not specified, times are displayed in local time.
Example
The following example writes the contents of a system trace area (DDLDCTRC) to an archive file and empties the area.
ARCHIVE TRACE