Controlling trace

Basic controls for the trace facility exist as trace subcommands, standalone commands, and subroutines.

If you configure the trace routine to run asynchronously (the -a option), you can control the trace facility with the following commands:
Item Description
trcon Turns collection of trace data on.
trcoff Turns collection of trace data off.
trcstop Stops collection of trace data (like trcoff) and terminates the trace routine.