ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/rmvtrc.htm

152 lines
6.6 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Remove Trace (RMVTRC)</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body bgcolor="white">
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<a name="RMVTRC.Top_Of_Page"></a>
<h2>Remove Trace (RMVTRC)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#RMVTRC.PARAMETERS.TABLE">Parameters</a><br>
<a href="#RMVTRC.COMMAND.EXAMPLES">Examples</a><br>
<a href="#RMVTRC.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="RMVTRC"></a>
<p>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.
</p>
<p>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.
</p>
<p><b>Restrictions:</b>
</p>
<ul>
<li>You can use this command only in debug mode. To start debug mode, refer to the Start Debug (STRDBG) command.
</li>
<li>You cannot use this command if you are servicing another job, and that job is on a job queue, or is being held, suspended, or ended.
</li>
</ul>
<ul>
<li>You cannot use this command to remove a trace from a bound program.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#RMVTRC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="RMVTRC.PARAMETERS.TABLE">Parameters</a></h3>
<table border="1" cellpadding="4" cellspacing="0">
<!-- col1="10" col2="15" col3="30" col4="10" -->
<tr>
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#RMVTRC.STMT"><b>STMT</b></a></td>
<td valign="top">Trace statements to remove</td>
<td valign="top">Single values: <b><u>*ALL</u></b><br>Other values (up to 5 repetitions): <i>Element list</i></td>
<td valign="top" rowspan="3">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top">Element 1: Starting statement identifier</td>
<td valign="top">
<i>Character value</i></td>
</tr>
<tr>
<td valign="top">Element 2: Ending statement identifier</td>
<td valign="top">
<i>Character value</i></td>
</tr>
<tr>
<td valign="top"><a href="#RMVTRC.PGM"><b>PGM</b></a></td>
<td valign="top">Program</td>
<td valign="top"><i>Name</i>, <b><u>*DFTPGM</u></b>, *ALL</td>
<td valign="top">Optional, Positional 2</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#RMVTRC.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="RMVTRC.STMT"></a>
<h3>Trace statements to remove (STMT)</h3>
<p>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.
</p>
<p>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.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>All high-level language (HLL) statements and/or machine instructions in the specified programs are no longer traced regardless of how the trace was defined by the Add Trace (ADDTRC) command.
</dd>
<dt><b><i>start-statement-identifier stop-statement-identifier</i></b></dt>
<dd>Specify the HLL statement identifier (or the machine instruction number) of the first trace statement to be removed and, optionally, the identifier of the last statement to be removed from future tracing. However, if the last statement was specified on the Add Trace (ADDTRC) command, the last statement must also be specified here. As many as five trace ranges can be specified in the program for each use of this command.
<p>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.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RMVTRC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RMVTRC.PGM"></a>
<h3>Program (PGM)</h3>
<p>Specifies the program (or all programs) containing the trace statements to be removed from future tracing operations.
</p>
<dl>
<dt><b><u>*DFTPGM</u></b></dt>
<dd>The program previously specified as the default program contains the statements to be removed from tracing.
</dd>
<dt><b>*ALL</b></dt>
<dd>All programs that currently have trace ranges in them have <b>all</b> of their trace ranges removed; no tracing can be done in any of the programs in debug mode unless more traces are added by the ADDTRC command. *ALL is not valid unless no value is supplied for the <b>Trace statements to remove (STMT)</b> parameter.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the program that has the specified trace statements (or all trace statements) removed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RMVTRC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="RMVTRC.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
RMVTRC
</pre>
</p>
<p>This command removes all the trace statements used for tracing in the program currently specified as the default program.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#RMVTRC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="RMVTRC.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF1999</b></dt>
<dd>Errors occurred on command.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RMVTRC.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>