Activating the Trace Destination

How to:

Traces can go to the screen (CLIENT) or to a file (allocated to DDNAME FSTRACE). You must activate the trace destination as well as activating each trace component.


Top of page

x
Syntax: How to Activate the Trace Destination

You activate the tracing facility by issuing the following command at the command level, in a FOCEXEC, or in any FOCUS-supported profile:

SET TRACEUSER={OFF|ON|FSTRACE}

where:

OFF

Does not activate any trace destination. OFF is the default value.

ON

Activates the screen as the trace destination for any trace component you activate using CLIENT as the component destination.

FSTRACE

Activates a file as the trace destination for any trace component you activate using FSTRACE as the destination. You must allocate DDNAME FSTRACE to a file (for information, see Allocating FSTRACE).

Note: You must issue the SET TRACEUSER=FSTRACE command after activating all of the trace components you want to go to the allocated file. In the SET TRACEON commands for those components, specify FSTRACE as the destination. For example:

DYNAM ALLOC DD FSTRACE DA USER1.FSTRACE.DATA SHR REU
SET TRACEON = STMTRACE//FSTRACE
SET TRACEON = SQLDI//FSTRACE
SET TRACEUSER = FSTRACE

Information Builders