Controls the CICS trace facility.
Sintaxe:
SET TRACE
>>-TRACE--+-ON--+--+--------+--+----+--+------+--+--------+----><
'-OFF-' '-SYSTEM-' '-EI-' '-USER-' '-SINGLE-'
|
Descrição:
TRACE controls the CICS trace facility by turning on and off the various trace flags.
See the TXSeries for Multiplatforms Application Programming Guide for details
of the trace flags and the trace destinations.
A TRACE ON or TRACE OFF command without options controls the whole CICS trace facility (by switching the Master Trace flag
ON or OFF), but leaves the established pattern of trace activity undisturbed. Other options establish the trace pattern
by causing specific traces to be enabled or disabled in accordance with the ON or OFF option that is given on the TRACE
command; however, no trace whatsoever is output unless the Master Trace flag is independently switched ON (which can be
done by using the CEMT transaction as an alternative to the EXEC CICS TRACE ON command).
The SYSTEM option controls the Master System Trace flag, which must be ON before any system trace entries are produced.
The EI option controls the EXEC Interface System Trace flag.
If system tracing is active (that is, both Master Trace and Master System Trace flags are ON), the tracing of CICS commands
through the EXEC interface occurs if the EXEC Interface System Trace flag is also ON, in which case no other
system trace entries are produced.
The USER option controls the Master User Trace flag, which must be ON before any user trace entries are produced.
The SINGLE option controls the Individual User Trace flag for the task that is issuing the TRACE command.
User trace entries for a task are produced only if user tracing is active (that is, both Master Trace and Master
User Trace flags are ON), and the Individual User Trace flag is also
ON.
The following example shows how to switch ON the Master System and EXEC Interface System Trace flags to start tracing of
CICS commands.
- Nota:
- No tracing occurs unless the Master Trace flag is also ON.