Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Remove Trace (RMVTRC) command removes all or part of the traces previously specified in one or more Add Trace (ADDTRC) commands for use in debugging the programs. Any trace data already created by the traces being removed is not affected by this command. This data can be removed by the Clear Trace Data (CLRTRCDTA) command. The tracing limits specified in the Change Debug (CHGDBG) or Start Debug (STRDBG) commands are not changed.
On the Remove Trace (RMVTRC) command, the user specifies the HLL statement identifiers or the machine instruction numbers that correspond to the ranges that he no longer wants traced. To remove a trace, exactly the same range as specified on the Add Trace (ADDTRC) command must be specified. A maximum of five sets of trace ranges can be specified in one command.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
STMT | Trace statements to remove | Single values: *ALL Other values (up to 5 repetitions): Element list |
Optional, Positional 1 |
Element 1: Starting statement identifier | Character value | ||
Element 2: Ending statement identifier | Character value | ||
PGM | Program | Name, *DFTPGM, *ALL | Optional, Positional 2 |
Top |
Specifies the statement identifiers or machine instruction numbers of the trace statements that are no longer to be traced. To remove a trace from a program, the same statement identifiers must be specified here that were specified on the Add Trace (ADDTRC) command unless *ALL is specified.
The method used to specify the trace statements on the ADDTRC command (that is, HLL statement identifiers versus machine instruction numbers) must also be used here to remove them.
The method used to specify the trace statements on the Add Trace (ADDTRC) command (that is, HLL statement identifiers versus machine instruction numbers) must also be used here to remove them.
Top |
Specifies the program (or all programs) containing the trace statements to be removed from future tracing operations.
Top |
RMVTRC
This command removes all the trace statements used for tracing in the program currently specified as the default program.
Top |
Top |