Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Trace REXX (TRCREX) command is used to turn the interpreter function on or off from command entry or from control language (CL) programming level.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
SET | Trace option setting | *RESULTS, *ALL, *COMMANDS, *ERROR, *FAILURE, *INTERMEDIATES, *LABELS, *NORMAL, *OFF | Optional, Positional 1 |
Top |
Specifies the initial trace setting for the next REXX procedure that is run. This setting remains in effect unless changed through the REXX TRACE instruction.
The possible values are:
Top |
Example 1: Tracing Host Commands
TRCREX SET(*COMMANDS)
This command causes all commands in by the REXX procedure to be shown before they are to be run.
Example 2: Tracing Failing Host Commands
TRCREX SET(*NORMAL)
This command causes all commands that result in a FAILURE condition to be shown. This command shows the normal setting for the REXX tracing operation.
Top |
None
Top |