376 lines
13 KiB
HTML
376 lines
13 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>Merge Message File (MRGMSGF)</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="MRGMSGF.Top_Of_Page"></a>
|
|
<h2>Merge Message File (MRGMSGF)</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="#MRGMSGF.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#MRGMSGF.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#MRGMSGF.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="MRGMSGF"></a>
|
|
<p>The Merge Message File (MRGMSGF) command allows you to merge messages from one message file with those in another message file. Another message file may be specified to hold the messages that are replaced during the merging process. None of the message files specified are deleted by this command.
|
|
</p>
|
|
<p>Before the command is processed, messages can be in the from-message file (FROMMSGF), in the to-message file (TOMSGF), or in both files, but not in the replaced-message file (RPLMSGF). The three possibilities result in the following when the MRGMSGF command is processed:
|
|
</p>
|
|
<ul>
|
|
<li>When the messages are only in the FROMMSGF, they are added to the TOMSGF
|
|
</li>
|
|
<li>When the messages are only in the TOMSGF, they remain in the TOMSGF
|
|
</li>
|
|
<li>When the messages are in both the FROMMSGF and the TOMSGF, the messages in the TOMSGF are first saved into the RPLMSGF (if a replace-message file is specified); then the messages in the TOMSGF are replaced by the messages in the FROMMSGF
|
|
</li>
|
|
</ul>
|
|
<p><b>Restrictions:</b> You must have use (*USE) authority for the from-message file (FROMMSGF parameter); use (*USE), add (*ADD), and delete (*DLT) authorities for the to-message file (TOMSGF parameter); and *USE and *ADD authorities for the replace-message file (RPLMSGF parameter).
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#MRGMSGF.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="MRGMSGF.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="#MRGMSGF.FROMMSGF"><b>FROMMSGF</b></a></td>
|
|
<td valign="top">From message file</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: From message file</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" rowspan="3"><a href="#MRGMSGF.TOMSGF"><b>TOMSGF</b></a></td>
|
|
<td valign="top">To message file</td>
|
|
<td valign="top"><i>Qualified object name</i></td>
|
|
<td valign="top" rowspan="3">Required, Positional 2</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Qualifier 1: To message file</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" rowspan="3"><a href="#MRGMSGF.RPLMSGF"><b>RPLMSGF</b></a></td>
|
|
<td valign="top">Replaced message file</td>
|
|
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values: <i>Qualified object name</i></td>
|
|
<td valign="top" rowspan="3">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Qualifier 1: Replaced message file</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="#MRGMSGF.SELECT"><b>SELECT</b></a></td>
|
|
<td valign="top">Message IDs to select</td>
|
|
<td valign="top">Single values: <b><u>*ALL</u></b><br>Other values (up to 50 repetitions): <i>Name</i></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#MRGMSGF.OMIT"><b>OMIT</b></a></td>
|
|
<td valign="top">Message IDs to omit</td>
|
|
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values (up to 50 repetitions): <i>Name</i></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#MRGMSGF.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="MRGMSGF.FROMMSGF"></a>
|
|
<h3>From message file (FROMMSGF)</h3>
|
|
<p>Specifies the message file from which the messages are to be merged.
|
|
</p>
|
|
<p>This is a required parameter.
|
|
</p>
|
|
<p><b>Qualifier 1: From message file</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the message file from which the messages are to be merged.
|
|
</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 from-message file. 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 from-message file is located.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#MRGMSGF.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="MRGMSGF.TOMSGF"></a>
|
|
<h3>To message file (TOMSGF)</h3>
|
|
<p>Specifies the message file into which the messages are to be merged.
|
|
</p>
|
|
<p>This is a required parameter.
|
|
</p>
|
|
<p><b>Qualifier 1: To message file</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the message file into which the messages are to be merged.
|
|
</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 to-message file. 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 to-message file is located.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#MRGMSGF.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="MRGMSGF.RPLMSGF"></a>
|
|
<h3>Replaced message file (RPLMSGF)</h3>
|
|
<p>Specifies the message file that will receive overlaid messages from the message file specified for the <b>To message file (TOMSGF)</b> parameter.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NONE</u></b></dt>
|
|
<dd>Overlaid messages from the TOMSGF message file are not copied to a replaced-message file.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 1: Replaced message file</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the message file that will receive overlaid messages.
|
|
</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 replaced-message file. 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 replaced-message file is located.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#MRGMSGF.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="MRGMSGF.SELECT"></a>
|
|
<h3>Message IDs to select (SELECT)</h3>
|
|
<p>Specifies selective message IDs to merge from the message file specified for the <b>From message file (FROMMSGF)</b> parameter into the message file specified for the <b>To message file (TOMSGF)</b> parameter. Only the selected messages will be merged.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>All message IDs in the from-message file are merged with those in the to-message file.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Other values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>message-identifier</i></b></dt>
|
|
<dd>Specify a list of up to 50 message IDs to be merged.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#MRGMSGF.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="MRGMSGF.OMIT"></a>
|
|
<h3>Message IDs to omit (OMIT)</h3>
|
|
<p>Specifies selective message IDs to not be merged from the message file specified for the <b>From message file (FROMMSGF)</b> parameter into the message file specified for the <b>To message file (TOMSGF)</b> parameter. All message IDs in the from-message file not included in this list are merged.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NONE</u></b></dt>
|
|
<dd>No message IDs are omitted from the merging process.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Other values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>message-identifier</i></b></dt>
|
|
<dd>Specify a list of up to 50 message IDs not to be merged. All messages whose message IDs are not listed will be merged.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#MRGMSGF.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="MRGMSGF.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Merging Two Files</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
MRGMSGF FROMMSGF(A) TOMSGF(B)
|
|
</pre>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
Table 1. Contents of the Files Before the Merge
|
|
Message File A Message File B
|
|
----------------- -----------------
|
|
ABC1234 'text A4' ABC1233 'text B3'
|
|
ABC1236 'text A6' ABC1234 'text B4'
|
|
ABC1237 'text A7' ABC1235 'text B5'
|
|
ABC1238 'text A8' ABC1236 'text B6'
|
|
</pre>
|
|
</p>
|
|
<p>Below are the two message files after the MRGMSGF command is processed. Notice that messages ABC1234 and ABC1236 are in both files. When the merge occurs, the message text from file A (text A4 and A6 respectively) replaces the message text in file B (text B4 and B6 respectively).
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
Table 2. Contents of the Files After the Merge
|
|
Message File A Message File B
|
|
----------------- -----------------
|
|
ABC1234 'text A4' ABC1233 'text B3'
|
|
ABC1236 'text A6' ABC1234 'text A4'
|
|
ABC1237 'text A7' ABC1235 'text B5'
|
|
ABC1238 'text A8' ABC1236 'text A6'
|
|
ABC1237 'text A7'
|
|
ABC1238 'text A8'
|
|
</pre>
|
|
</p>
|
|
<p><b>Example 2: Merging Two Files with Replace File Option</b>
|
|
</p>
|
|
<p>In the example below, messages that are replaced in the to-file are saved to a separate file before being replaced.
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
MRGMSGF FROMMSGF(A) TOMSGF(B) RPLMSGF(C)
|
|
</pre>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
Table 3. Contents of the Files Before the Merge
|
|
Message File A Message File B
|
|
----------------- -----------------
|
|
ABC1234 'text A4' ABC1233 'text B3'
|
|
ABC1236 'text A6' ABC1234 'text B4'
|
|
ABC1237 'text A7' ABC1235 'text B5'
|
|
ABC1238 'text A8' ABC1236 'text B6'
|
|
</pre>
|
|
</p>
|
|
<p>Below are the two message files after the MRGMSGF command is processed. Notice that messages ABC1234 and ABC1236 are in both files. When the merge occurs, the text from these two messages is first moved to file C (text B4 and B6 respectively). Then, message text from file A (text A4 and A6 respectively) replaces the message text in file B (text B4 and B6 respectively).
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
Table 4. Contents of the Files After the Merge
|
|
Message File A Message File B Message File C
|
|
----------------- ----------------- -----------------
|
|
ABC1234 'text A4' ABC1233 'text B3' ABC1234 'text B4'
|
|
ABC1236 'text A6' ABC1234 'text A4' ABC1236 'text B6'
|
|
ABC1237 'text A7' ABC1235 'text B5'
|
|
ABC1238 'text A8' ABC1236 'text A6'
|
|
ABC1237 'text A7'
|
|
ABC1238 'text A8'
|
|
</pre>
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#MRGMSGF.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="MRGMSGF.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>CPF2452</b></dt>
|
|
<dd>Replaced message file must contain no messages.
|
|
</dd>
|
|
<dt><b>CPF2461</b></dt>
|
|
<dd>Message file &1 could not be extended.
|
|
</dd>
|
|
<dt><b>CPF2483</b></dt>
|
|
<dd>Message file currently in use.
|
|
</dd>
|
|
<dt><b>CPF2510</b></dt>
|
|
<dd>Message file &1 in &2 logically damaged.
|
|
</dd>
|
|
<dt><b>CPF2519</b></dt>
|
|
<dd>Error occurred while processing message ID list.
|
|
</dd>
|
|
<dt><b>CPF2561</b></dt>
|
|
<dd>Messages were not merged.
|
|
</dd>
|
|
<dt><b>CPF2562</b></dt>
|
|
<dd>Cannot specify the same message file more than once.
|
|
</dd>
|
|
<dt><b>CPF9830</b></dt>
|
|
<dd>Cannot assign library &1.
|
|
</dd>
|
|
<dt><b>CPF9838</b></dt>
|
|
<dd>User profile storage limit exceeded.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#MRGMSGF.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|