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

244 lines
6.6 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 Menu Attributes (DSPMNUA)</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="DSPMNUA.Top_Of_Page"></a>
<h2>Display Menu Attributes (DSPMNUA)</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="#DSPMNUA.PARAMETERS.TABLE">Parameters</a><br>
<a href="#DSPMNUA.COMMAND.EXAMPLES">Examples</a><br>
<a href="#DSPMNUA.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="DSPMNUA"></a>
<p>The Display Menu Attributes (DSPMNUA) command shows the following for the specified menu:
</p>
<ul>
<li>Menu type
</li>
<li>Program name and library for program menus
</li>
<li>Display file name and library for display file menus
</li>
<li>Message file name and library for display file menus
</li>
<li>The type of the command line to be shown for display file menus
<ul>
<li>*LONG
</li>
<li>*SHORT
</li>
<li>*NONE (an option line is used)
</li>
</ul>
</li>
<li>Whether or not a description of the active function keys should be shown for display file menus
</li>
<li>Current library
</li>
<li>Product library
</li>
<li>Descriptive text
</li>
</ul>
<p><b>Restrictions:</b>
</p>
<ul>
<li>You must have use (*USE) authority for the menu, and *USE authority for the library where the menu is located.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPMNUA.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="DSPMNUA.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="#DSPMNUA.MENU"><b>MENU</b></a></td>
<td valign="top">Menu</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: Menu</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="#DSPMNUA.OUTPUT"><b>OUTPUT</b></a></td>
<td valign="top">Output</td>
<td valign="top"><b><u>*</u></b>, *PRINT</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#DSPMNUA.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="DSPMNUA.MENU"></a>
<h3>Menu (MENU)</h3>
<p>Specifies the menu whose attributes are to be shown.
</p>
<p>This is a required parameter.
</p>
<p><b>Qualifier 1: Menu</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the menu object.
</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 menu. 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 library where the menu is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPMNUA.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPMNUA.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>
<dl>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPMNUA.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPMNUA.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
DSPMNUA MENU(PAYROLL)
</pre>
</p>
<p>This command shows the attributes of a menu named PAYROLL at the display station (if the command is running interactively). The menu is found by searching the library list (*LIBL default value).
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPMNUA.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPMNUA.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF6ACD</b></dt>
<dd>Menu &amp;1 in &amp;2 is wrong version for system.
</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>CPF9801</b></dt>
<dd>Object &amp;2 in library &amp;3 not found.
</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>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>CPF9811</b></dt>
<dd>Program &amp;1 in library &amp;2 not found.
</dd>
<dt><b>CPF9812</b></dt>
<dd>File &amp;1 in library &amp;2 not found.
</dd>
<dt><b>CPF9814</b></dt>
<dd>Device &amp;1 not found.
</dd>
<dt><b>CPF9820</b></dt>
<dd>Not authorized to use library &amp;1.
</dd>
<dt><b>CPF9821</b></dt>
<dd>Not authorized to program &amp;1 in library &amp;2.
</dd>
<dt><b>CPF9822</b></dt>
<dd>Not authorized to file &amp;1 in library &amp;2.
</dd>
<dt><b>CPF9825</b></dt>
<dd>Not authorized to device &amp;1.
</dd>
<dt><b>CPF9830</b></dt>
<dd>Cannot assign library &amp;1.
</dd>
<dt><b>CPF9831</b></dt>
<dd>Cannot assign device &amp;1.
</dd>
<dt><b>CPF9845</b></dt>
<dd>Error occurred while opening file &amp;1.
</dd>
<dt><b>CPF9846</b></dt>
<dd>Error while processing file &amp;1 in library &amp;2.
</dd>
<dt><b>CPF9847</b></dt>
<dd>Error occurred while closing file &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="#DSPMNUA.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>