173 lines
6.1 KiB
HTML
173 lines
6.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>Work with Message Descriptions (WRKMSGD)</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="WRKMSGD.Top_Of_Page"></a>
|
||
|
<h2>Work with Message Descriptions (WRKMSGD)</h2>
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<td valign="top" align="left"><b>Where allowed to run: </b>Interactive environments (*INTERACT *IPGM *IREXX *EXEC)<br>
|
||
|
<b>Threadsafe: </b>No
|
||
|
</td>
|
||
|
<td valign="top" align="right">
|
||
|
<a href="#WRKMSGD.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#WRKMSGD.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#WRKMSGD.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="WRKMSGD"></a>
|
||
|
<p>The Work with Message Descriptions (WRKMSGD) command shows detailed information about the messages contained in a message file. This command can be used to add, change, remove, and print message descriptions through the Work with Message Descriptions display. When message descriptions are changed by using this display, the current values for the message are shown in the command prompt. However, there is a 512-character limit for the second-level message text.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKMSGD.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="WRKMSGD.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="#WRKMSGD.MSGID"><b>MSGID</b></a></td>
|
||
|
<td valign="top">Message identifier</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*FIRST</u></b></td>
|
||
|
<td valign="top">Optional, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="3"><a href="#WRKMSGD.MSGF"><b>MSGF</b></a></td>
|
||
|
<td valign="top">Message file</td>
|
||
|
<td valign="top"><i>Qualified object name</i></td>
|
||
|
<td valign="top" rowspan="3">Optional, Positional 2</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Qualifier 1: Message file</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>QCPFMSG</u></b></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top">Qualifier 2: Library</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
|
||
|
</tr></table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKMSGD.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="WRKMSGD.MSGID"></a>
|
||
|
<h3>Message identifier (MSGID)</h3>
|
||
|
<p>Specifies the message identifier with which to begin showing a list of message descriptions in the message file specified for the <b>Message file (MSGF)</b> parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*FIRST</u></b></dt>
|
||
|
<dd>The first message description in the message file is used to begin the list display.
|
||
|
</dd>
|
||
|
<dt><b><i>message-identifier</i></b></dt>
|
||
|
<dd>Specify the message identifiers of one or more messages whose descriptions are to be shown. The message identifiers must each be 7 characters long and in the following format: <i>pppnnnn</i>
|
||
|
<p>The first 3 characters must be a code consisting of an alphabetic character followed by two alphanumeric (alphabetic or decimal) characters; the last 4 characters may consist of the decimal numbers ranging from 0 through 9, and the characters A through F.
|
||
|
</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKMSGD.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="WRKMSGD.MSGF"></a>
|
||
|
<h3>Message file (MSGF)</h3>
|
||
|
<p>Specifies the message file from which the message descriptions are taken.
|
||
|
</p>
|
||
|
<p><b>Qualifier 1: Message file</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>QCPFMSG</u></b></dt>
|
||
|
<dd>Message descriptions are taken from the system message file, QCPFMSG.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the message file from which the message descriptions are taken.
|
||
|
</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 message file. If no current library entry exists in the library list, QGPL is used.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the library where the message file is located.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKMSGD.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="WRKMSGD.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p>
|
||
|
<pre>
|
||
|
WRKMSGD MSGF(QSYS/QCPFMSG)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command displays the Work with Message Descriptions panel, showing all message descriptions found in message file QCPFMSG in library QSYS. From that panel, the user can add, change, delete, display, or print the message descriptions.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKMSGD.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="WRKMSGD.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF2401</b></dt>
|
||
|
<dd>Not authorized to library &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF2407</b></dt>
|
||
|
<dd>Message file &1 in &2 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF2411</b></dt>
|
||
|
<dd>Not authorized to message file &1 in &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF2483</b></dt>
|
||
|
<dd>Message file currently in use.
|
||
|
</dd>
|
||
|
<dt><b>CPF2499</b></dt>
|
||
|
<dd>Message identifier &1 not allowed.
|
||
|
</dd>
|
||
|
<dt><b>CPF2510</b></dt>
|
||
|
<dd>Message file &1 in &2 logically damaged.
|
||
|
</dd>
|
||
|
<dt><b>CPF2516</b></dt>
|
||
|
<dd>Unable to open display or printer file &1 in &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF9807</b></dt>
|
||
|
<dd>One or more libraries in library list deleted.
|
||
|
</dd>
|
||
|
<dt><b>CPF9810</b></dt>
|
||
|
<dd>Library &1 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF9830</b></dt>
|
||
|
<dd>Cannot assign library &1.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKMSGD.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|