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

285 lines
11 KiB
HTML
Raw 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>Add Distribution List Entry (ADDDSTLE)</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="ADDDSTLE.Top_Of_Page"></a>
<h2>Add Distribution List Entry (ADDDSTLE)</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="#ADDDSTLE.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ADDDSTLE.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ADDDSTLE.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ADDDSTLE"></a>
<p>The Add Distribution List Entry (ADDDSTLE) command allows you to add new entries to an existing distribution list. A distribution list can include local, remote, indirect, and programmable work station users. It can also include remote distribution lists, but not local distribution lists.
</p>
<p>Up to 300 entries can be added to a distribution list at one time. In addition, up to 50 local distribution list IDs can be specified whose members are all to become part of this list.
</p>
<p>The distribution list must exist before this command can be run. The Create Distribution List (CRTDSTL) command can be used to create a new distribution list.
</p>
<p><b>Restriction:</b> The user of this command must have security administrator authority to add entries to a distribution list owned by someone else. Users can add entries to a distribution list they have created without restrictions.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDDSTLE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ADDDSTLE.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="#ADDDSTLE.LSTID"><b>LSTID</b></a></td>
<td valign="top">List identifier</td>
<td valign="top"><i>Element list</i></td>
<td valign="top" rowspan="3">Required, Positional 1</td>
</tr>
<tr>
<td valign="top">Element 1: List ID</td>
<td valign="top">
<i>Character value</i></td>
</tr>
<tr>
<td valign="top">Element 2: List ID qualifier</td>
<td valign="top">
<i>Character value</i></td>
</tr>
<tr>
<td valign="top" rowspan="4"><a href="#ADDDSTLE.USRID"><b>USRID</b></a></td>
<td valign="top">User identifier</td>
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values (up to 300 repetitions): <i>Element list</i></td>
<td valign="top" rowspan="4">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: User ID</td>
<td valign="top">
<i>Character value</i></td>
</tr>
<tr>
<td valign="top">Element 2: Address</td>
<td valign="top">
<i>Character value</i></td>
</tr>
<tr>
<td valign="top">Element 3: User description</td>
<td valign="top">
<i>Character value</i>, <b><u>*FIRST</u></b></td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#ADDDSTLE.FROMLSTID"><b>FROMLSTID</b></a></td>
<td valign="top">From list identifier</td>
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values (up to 50 repetitions): <i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: List ID</td>
<td valign="top">
<i>Character value</i></td>
</tr>
<tr>
<td valign="top">Element 2: List ID qualifier</td>
<td valign="top">
<i>Character value</i></td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#ADDDSTLE.CMDCHRID"><b>CMDCHRID</b></a></td>
<td valign="top">Command character identifier</td>
<td valign="top">Single values: <b><u>*SYSVAL</u></b>, *DEVD<br>Other values: <i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Graphic character set</td>
<td valign="top">
<i>Integer</i></td>
</tr>
<tr>
<td valign="top">Element 2: Code page</td>
<td valign="top">
<i>Integer</i></td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#ADDDSTLE.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ADDDSTLE.LSTID"></a>
<h3>List identifier (LSTID)</h3>
<p>Specifies the two-part list identifier of the distribution list that is to have entries added.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b><i>list-identification</i></b></dt>
<dd>Specify the list ID in two parts.
<p>More information about specifying the list ID is in SNA Distribution Services book, SC41-5410.
</p>
</dd>
</dl>
<p>If any lowercase characters are specified, the system changes them to, and stores them as, uppercase characters.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDDSTLE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDDSTLE.USRID"></a>
<h3>User identifier (USRID)</h3>
<p>Specifies the user ID, address, and description of the user that is to be added to the distribution list. Both the user ID and address must be provided. A list ID (both parts) is used in place of the user ID and address to identify a remote distribution list ID being added to the distribution list. A remote distribution list can be added to a local directory as a remote user, or can be valid because of a default *ANY entry. The description can be specified and it must exactly match the entry as it is known in the directory. If no description is specified, *FIRST is the default.
</p>
<p>Up to 300 sets of user IDs, addresses, and descriptions can be specified. Each valid set is added to the distribution list.
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>No user ID is specified. If *NONE is specified, a value other than *NONE must be specified on the <b>From list identifier (FROMLSTID)</b> parameter.
</dd>
<dt><b><i>user-id and address</i></b></dt>
<dd>Specify both the user ID and address.
</dd>
</dl>
<p>If any lowercase characters are specified, the system changes them to, and stores them as, uppercase characters.
</p>
<p>A remote list ID can also be typed in this field.
</p>
<dl>
<dt><b><u>*FIRST</u></b></dt>
<dd>The first description in the specified user ID and address is added. If only one entry exists, it is the one added to the list.
</dd>
<dt><b><i>user-description</i></b></dt>
<dd>Specify a maximum of 50 characters for the description of the user. If a list ID is specified, enter the list description. You must enter the description exactly as it appears in the directory entry or an error message is returned.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDDSTLE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDDSTLE.FROMLSTID"></a>
<h3>From list identifier (FROMLSTID)</h3>
<p>Specifies the name of an existing distribution list whose entries are added to this list. A maximum of 50 list IDs can be specified. Duplicate entries are not removed.
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>No list ID is specified.
</dd>
<dt><b><i>from-list-identification</i></b></dt>
<dd>Specify the two-part list ID of a distribution list whose entries are added to this list.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDDSTLE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDDSTLE.CMDCHRID"></a>
<h3>Command character identifier (CMDCHRID)</h3>
<p>Specifies the character identifier (graphic character set and code page) for the data entered as command parameter values. The value you specify on this parameter applies to the <b>List identifier (LSTID)</b> parameter, the <b>User identifier (USRID)</b> parameter, and the <b>From list identifier (FROMLSTID)</b> parameter.
</p>
<p><b>Note:</b>
</p>
<ul>
<li>Only the user ID and address, system name and group, department, and the X.400 O/R parameters are translated to the graphic character set identifier (GCID) specified on this parameter. All other parameter values that you specify are stored exactly as they are entered; the GCID value is stored with them.
</li>
<li>If this command is run interactively, the default GCID value is taken from the display device description. If it is run in batch, the default GCID value is taken from the QCHRID system value. You can override these values by specifying a specific character set and code page on this parameter.
</li>
</ul>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SYSVAL</u></b></dt>
<dd>The system determines the graphic character set and code page values for the command parameters from the QCHRID system value.
</dd>
</dl>
<dl>
<dt><b>*DEVD</b></dt>
<dd>The system determines the graphic character set and code page values from the display device description where this command was entered. This option is valid only when entered from an interactive job. If this option is specified in a batch job, an error occurs.
</dd>
</dl>
<p><b>Element 1: Graphic character set</b>
</p>
<dl>
<dt><b><i>1-32767</i></b></dt>
<dd>Specify the graphic character set to use.
</dd>
</dl>
<p><b>Element 2: Code page</b>
</p>
<dl>
<dt><b><i>1-32767</i></b></dt>
<dd>Specify the code page to use.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDDSTLE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDDSTLE.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
ADDDSTLE LSTID(CHICAGO DLIST)
USRID((HURST NEWYORK 'Manager of Payroll')
(LEE DEPT554 *FIRST)
(BOCA DLIST 'Remote Distribution list for Boca')
(ERIC WAREHSE))
FROMLSTID((DEPT48K DLIST) (ALLMGRS DLIST))
</pre>
</p>
<p>This command specifies that four user IDs are added to the distribution list CHICAGO DLIST. The third user ID is in fact a remote distribution list. The fourth user ID (ERIC WAREHSE) defaults to the first description for that user ID. In addition, all of the entries in two distribution lists are added to this distribution list.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDDSTLE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDDSTLE.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF9024</b></dt>
<dd>System cannot get correct record to finish operation.
</dd>
<dt><b>CPF905C</b></dt>
<dd>Error occurred trying to find a translation table.
</dd>
<dt><b>CPF9090</b></dt>
<dd>No entries added to distribution list &amp;1 &amp;2.
</dd>
<dt><b>CPF9091</b></dt>
<dd>&amp;1 entries added and &amp;2 lists copied to list &amp;3 &amp;4. &amp;5 entries not added and &amp;6 lists not copied.
</dd>
<dt><b>CPF9096</b></dt>
<dd>Cannot use CMDCHRID(*DEVD), DOCCHRID(*DEVD) in batch job.
</dd>
<dt><b>CPF9838</b></dt>
<dd>User profile storage limit exceeded.
</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>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDDSTLE.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>