265 lines
9.1 KiB
HTML
265 lines
9.1 KiB
HTML
|
|
<!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 Data Area (DSPDTAARA)</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="DSPDTAARA.Top_Of_Page"></a>
|
|
<h2>Display Data Area (DSPDTAARA)</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="#DSPDTAARA.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#DSPDTAARA.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#DSPDTAARA.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="DSPDTAARA"></a>
|
|
<p>The Display Data Area (DSPDTAARA) command shows the attributes and value of the specified data area. The following attributes are displayed: the type and length of the data area, the library where the data area is located (there is no library associated with a local data area, the group data area, or the program initialization parameter data area), and the text describing the data area. <b>Restrictions:</b>
|
|
</p>
|
|
<ol>
|
|
<li>To use this command, the user must have use (*USE) authority for the data area and execute (*EXECUTE) authority for the library. No specific authority is required for the local data area, group data area, or program initialization parameter data area.
|
|
</li>
|
|
</ol>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#DSPDTAARA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="DSPDTAARA.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="#DSPDTAARA.DTAARA"><b>DTAARA</b></a></td>
|
|
<td valign="top">Data area</td>
|
|
<td valign="top">Single values: *LDA, *GDA, *PDA<br>Other values: <i>Qualified object name</i></td>
|
|
<td valign="top" rowspan="3">Required, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Qualifier 1: Data area</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
</tr><tr>
|
|
<td valign="top">Qualifier 2: Library</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
|
|
</tr><tr>
|
|
<td valign="top"><a href="#DSPDTAARA.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 2</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#DSPDTAARA.OUTFMT"><b>OUTFMT</b></a></td>
|
|
<td valign="top">Output format</td>
|
|
<td valign="top"><b><u>*CHAR</u></b>, *HEX</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#DSPDTAARA.SYSTEM"><b>SYSTEM</b></a></td>
|
|
<td valign="top">System</td>
|
|
<td valign="top"><b><u>*LCL</u></b>, *RMT</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#DSPDTAARA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="DSPDTAARA.DTAARA"></a>
|
|
<h3>Data area (DTAARA)</h3>
|
|
<p>Specifies the name and library of the data area whose attributes and values are to be displayed.
|
|
</p>
|
|
<p>This is a required parameter.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>*LDA</b></dt>
|
|
<dd>The local data area is displayed. The local data area (*LDA) is a character data area 1024 bytes in length. It is automatically associated with your job and cannot be accessed from another job.
|
|
</dd>
|
|
<dt><b>*GDA</b></dt>
|
|
<dd>The group data area is displayed, if this job is a group job. This data area is automatically associated with the group and can not be accessed from jobs outside the group. The length of this character data area is 512 bytes.
|
|
</dd>
|
|
<dt><b>*PDA</b></dt>
|
|
<dd>The program initialization parameter data area is shown. This value is valid only if this is a prestart job. The length of this data area is 2000 bytes.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 1: Data area</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the data area.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 2: Library</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*LIBL</u></b></dt>
|
|
<dd>All libraries in the thread's library list are searched until a match is found.
|
|
</dd>
|
|
<dt><b>*CURLIB</b></dt>
|
|
<dd>The current library for the thread is used to locate the object. If no library is specified as the current library for the thread, the QGPL library is used.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the library where the data area is located.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#DSPDTAARA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="DSPDTAARA.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 for interactive jobs or printed with the job's spooled output for non-interactive jobs.
|
|
</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="#DSPDTAARA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="DSPDTAARA.OUTFMT"></a>
|
|
<h3>Output format (OUTFMT)</h3>
|
|
<p>Specifies the format in which the value of the data area is shown. In order to show the hexadecimal value of characters that cannot be shown, both character and hexadecimal representations of a character data area can be shown.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CHAR</u></b></dt>
|
|
<dd>The output is shown in character format.
|
|
</dd>
|
|
<dt><b>*HEX</b></dt>
|
|
<dd>The output is shown in both hexadecimal format and character format. This value is valid only for character data areas.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#DSPDTAARA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="DSPDTAARA.SYSTEM"></a>
|
|
<h3>System (SYSTEM)</h3>
|
|
<p>Specifies whether the information provided is the data area on the local system (*LCL) or on the remote system (*RMT).
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*LCL</u></b></dt>
|
|
<dd>The data displayed is for the data area on the local system.
|
|
</dd>
|
|
<dt><b>*RMT</b></dt>
|
|
<dd>The data displayed is from the remote data area named on the RMTDTAARA parameter of a successfully issued Create Data Area (CRTDTAARA) command. To view this data, specify the name of the data area created on the CRTDTAARA command, not the name of the remote data area.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#DSPDTAARA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="DSPDTAARA.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Displaying Output in Hexadecimal and Character Format</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
DSPDTAARA DTAARA(HEXDATA) OUTPUT(*) OUTFMT(*HEX)
|
|
</pre>
|
|
</p>
|
|
<p>The value and attributes of data area HEXDATA are displayed if the user has proper authority. Both character and hexadecimal representations are shown.
|
|
</p>
|
|
<p><b>Example 2: Displaying Output in Character Format</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
DSPDTAARA DTAARA(TIME) OUTPUT(*)
|
|
</pre>
|
|
</p>
|
|
<p>The value and attributes of the data area TIME are displayed if the user has the proper authority. The library list is used to find the data area.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#DSPDTAARA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="DSPDTAARA.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPF1015</b></dt>
|
|
<dd>Data area &1 in &2 not found.
|
|
</dd>
|
|
<dt><b>CPF1016</b></dt>
|
|
<dd>No authority to data area &1 in &2.
|
|
</dd>
|
|
<dt><b>CPF1021</b></dt>
|
|
<dd>Library &1 not found for data area &2.
|
|
</dd>
|
|
<dt><b>CPF1022</b></dt>
|
|
<dd>No authority to library &1 data area &2.
|
|
</dd>
|
|
<dt><b>CPF104A</b></dt>
|
|
<dd>SYSTEM(*RMT) not allowed for data area &1 in library &2.
|
|
</dd>
|
|
<dt><b>CPF1046</b></dt>
|
|
<dd>DTAARA(*GDA) not valid because job not group job.
|
|
</dd>
|
|
<dt><b>CPF1048</b></dt>
|
|
<dd>OUTFMT(*HEX) not valid for data area &1 in library &2.
|
|
</dd>
|
|
<dt><b>CPF1063</b></dt>
|
|
<dd>Cannot allocate data area &1 in library &2.
|
|
</dd>
|
|
<dt><b>CPF1067</b></dt>
|
|
<dd>Cannot allocate library &1.
|
|
</dd>
|
|
<dt><b>CPF1072</b></dt>
|
|
<dd>DTAARA(*PDA) not valid because job not prestart job.
|
|
</dd>
|
|
<dt><b>CPF9845</b></dt>
|
|
<dd>Error occurred while opening file &1.
|
|
</dd>
|
|
<dt><b>CPF9846</b></dt>
|
|
<dd>Error while processing file &1 in library &2.
|
|
</dd>
|
|
<dt><b>CPF9847</b></dt>
|
|
<dd>Error occurred while closing file &1 in library &2.
|
|
</dd>
|
|
<dt><b>CPF9850</b></dt>
|
|
<dd>Override of printer file &1 not allowed.
|
|
</dd>
|
|
<dt><b>CPF9851</b></dt>
|
|
<dd>Overflow value for file &1 in &2 too small.
|
|
</dd>
|
|
<dt><b>CPF9871</b></dt>
|
|
<dd>Error occurred while processing.
|
|
</dd>
|
|
<dt><b>CPF9899</b></dt>
|
|
<dd>Error occurred during processing of command.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#DSPDTAARA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|