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

194 lines
5.6 KiB
HTML
Raw Permalink 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 Command (DSPCMD)</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="DSPCMD.Top_Of_Page"></a>
<h2>Display Command (DSPCMD)</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="#DSPCMD.PARAMETERS.TABLE">Parameters</a><br>
<a href="#DSPCMD.COMMAND.EXAMPLES">Examples</a><br>
<a href="#DSPCMD.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="DSPCMD"></a>
<p>The Display Command (DSPCMD) command shows some of the values that were specified for parameters in the Create Command (CRTCMD) command.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPCMD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="DSPCMD.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="#DSPCMD.CMD"><b>CMD</b></a></td>
<td valign="top">Command</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Required, Positional 1</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Command</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="#DSPCMD.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>
</table>
<table width="100%">
<tr><td align="right"><a href="#DSPCMD.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="DSPCMD.CMD"></a>
<h3>Command (CMD)</h3>
<p>Specifies the command whose information is to be displayed.
</p>
<p>This is a required parameter.
</p>
<p><b>Qualifier 1: Command</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the command to be shown.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the command. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library that contains the command.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPCMD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPCMD.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 command attributes are shown at the display station. If the command is running in batch mode, the attributes are printed.
</dd>
<dt><b>*PRINT</b></dt>
<dd>The command attributes are printed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPCMD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPCMD.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
DSPCMD CMD(PAYROLL)
</pre>
</p>
<p>This command shows all current user-assigned parameter values for the user-defined command PAYROLL at the display station.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPCMD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPCMD.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF2150</b></dt>
<dd>Object information function failed.
</dd>
<dt><b>CPF2151</b></dt>
<dd>Operation failed for &amp;2 in &amp;1 type *&amp;3.
</dd>
<dt><b>CPF6210</b></dt>
<dd>Command &amp;1 in library &amp;2 not found.
</dd>
<dt><b>CPF6250</b></dt>
<dd>Cannot display or retrieve command &amp;1 in library &amp;2.
</dd>
<dt><b>CPF7D41</b></dt>
<dd>Error occurred while logging order assistance request.
</dd>
<dt><b>CPF7D42</b></dt>
<dd>Error occurred while performing database operation.
</dd>
<dt><b>CPF8103</b></dt>
<dd>Command &amp;4 in &amp;9 damaged.
</dd>
<dt><b>CPF8122</b></dt>
<dd>&amp;8 damage on library &amp;4.
</dd>
<dt><b>CPF8123</b></dt>
<dd>Damage on object information for library &amp;4.
</dd>
<dt><b>CPF9802</b></dt>
<dd>Not authorized to object &amp;2 in &amp;3.
</dd>
<dt><b>CPF9803</b></dt>
<dd>Cannot allocate object &amp;2 in library &amp;3.
</dd>
<dt><b>CPF9805</b></dt>
<dd>Object &amp;2 in library &amp;3 destroyed.
</dd>
<dt><b>CPF9807</b></dt>
<dd>One or more libraries in library list deleted.
</dd>
<dt><b>CPF9808</b></dt>
<dd>Cannot allocate one or more libraries on library list.
</dd>
<dt><b>CPF9810</b></dt>
<dd>Library &amp;1 not found.
</dd>
<dt><b>CPF9820</b></dt>
<dd>Not authorized to use library &amp;1.
</dd>
<dt><b>CPF9824</b></dt>
<dd>Not authorized to command &amp;1 in library &amp;2.
</dd>
<dt><b>CPF9871</b></dt>
<dd>Error occurred while processing.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPCMD.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>