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

130 lines
4.9 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>Display Trace Data (DSPTRCDTA)</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="DSPTRCDTA.Top_Of_Page"></a>
<h2>Display Trace Data (DSPTRCDTA)</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="#DSPTRCDTA.PARAMETERS.TABLE">Parameters</a><br>
<a href="#DSPTRCDTA.COMMAND.EXAMPLES">Examples</a><br>
<a href="#DSPTRCDTA.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="DSPTRCDTA"></a>
<p>The Display Trace Data (DSPTRCDTA) command shows the output of any traces performed since the most recent Clear Trace Data (CLRTRCDTA) command. All of the trace statements and associated program variables within the trace range are shown. The display shows the sequence in which the traced statements or machine instructions were processed and the name or machine-interface object-definition-table-vector (MI ODV) number and value of any program variables defined for the trace at each point in the sequence. Note that the display of variable values is controlled by the <b>When output (OUTVAR)</b> parameter on the Add Trace (ADDTRC) command that defined the trace being shown.
</p>
<p>If a job is in debug mode, and that job ends before an End Debug (ENDDBG) is done, this command is done automatically, printing the output with the job's spooled output.
</p>
<p>
<b>Note: </b>A program statement appears in the trace data prior to its processing a variable. Therefore, when a program statement (Statement A) changes a variable specified in the trace, the new value appears in the trace data after the statement that follows Statement A.
</p>
<p><b>Restriction:</b> This command is valid only in debug mode.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPTRCDTA.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="DSPTRCDTA.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"><a href="#DSPTRCDTA.OUTPUT"><b>OUTPUT</b></a></td>
<td valign="top">Output</td>
<td valign="top"><b><u>*</u></b>, *PRINT</td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#DSPTRCDTA.CLEAR"><b>CLEAR</b></a></td>
<td valign="top">Clear</td>
<td valign="top"><b><u>*NO</u></b>, *YES</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#DSPTRCDTA.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="DSPTRCDTA.OUTPUT"></a>
<h3>Output (OUTPUT)</h3>
<p>Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
</p>
<dl>
<dt><b><u>*</u></b></dt>
<dd>The output is displayed (if requested by an interactive job) or printed with the job's spooled output (if requested by a batch job).
</dd>
</dl>
<dl>
<dt><b>*PRINT</b></dt>
<dd>The output is printed with the job's spooled output.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPTRCDTA.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPTRCDTA.CLEAR"></a>
<h3>Clear (CLEAR)</h3>
<p>Specifies whether the trace data is cleared after it has been shown.
</p>
<dl>
<dt><b><u>*NO</u></b></dt>
<dd>The trace data is not cleared.
</dd>
<dt><b>*YES</b></dt>
<dd>The trace data is cleared after it has been shown.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPTRCDTA.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPTRCDTA.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
DSPTRCDTA
</pre>
</p>
<p>This command shows all of the recorded trace data at the requesting display station. All of the trace statements in the trace range and the values of the associated program variables are displayed. The trace data is not cleared after it has been displayed because CLEAR(*NO) is assumed.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPTRCDTA.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPTRCDTA.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="#DSPTRCDTA.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>