Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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.
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.
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.
Restriction: 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.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
LSTID | List identifier | Element list | Required, Positional 1 |
Element 1: List ID | Character value | ||
Element 2: List ID qualifier | Character value | ||
USRID | User identifier | Single values: *NONE Other values (up to 300 repetitions): Element list |
Optional |
Element 1: User ID | Character value | ||
Element 2: Address | Character value | ||
Element 3: User description | Character value, *FIRST | ||
FROMLSTID | From list identifier | Single values: *NONE Other values (up to 50 repetitions): Element list |
Optional |
Element 1: List ID | Character value | ||
Element 2: List ID qualifier | Character value | ||
CMDCHRID | Command character identifier | Single values: *SYSVAL, *DEVD Other values: Element list |
Optional |
Element 1: Graphic character set | Integer | ||
Element 2: Code page | Integer |
Top |
Specifies the two-part list identifier of the distribution list that is to have entries added.
This is a required parameter.
More information about specifying the list ID is in SNA Distribution Services book, SC41-5410.
If any lowercase characters are specified, the system changes them to, and stores them as, uppercase characters.
Top |
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.
Up to 300 sets of user IDs, addresses, and descriptions can be specified. Each valid set is added to the distribution list.
If any lowercase characters are specified, the system changes them to, and stores them as, uppercase characters.
A remote list ID can also be typed in this field.
Top |
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.
Top |
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 List identifier (LSTID) parameter, the User identifier (USRID) parameter, and the From list identifier (FROMLSTID) parameter.
Note:
Single values
Element 1: Graphic character set
Element 2: Code page
Top |
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))
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.
Top |
*ESCAPE Messages
Top |