Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Create Distribution List (CRTDSTL) command allows you to create a new distribution list, which is a list of entries from the distribution directory. It can include entries for local users, remote users, indirect users, and programmable work station users. It can also include remote distribution lists, but not local distribution lists. The Create Distribution List (CRTDSTL) command creates the distribution list with no entries. The Add Distribution List Entry (ADDDSTLE) command is used to add entries to the distribution list.
Restriction: The list identifier (ID) must be unique to all local user IDs, as well as to other list IDs in the directory.
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 | ||
LSTD | List description | Character value | Required, Positional 2 |
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 unique, two-part list identifier of the distribution list. The same rules and restrictions that apply to user ID and address also apply to the distribution list ID. A maximum of 8 characters can be specified for each part.
This is a required parameter.
If any lowercase characters are specified, the system changes them to, and stores them as, uppercase characters.
Top |
Specifies the description of the distribution list that further identifies the distribution list. A maximum of 50 characters can be specified.
Top |
Specifies the character identifier (graphic character set and code page) for the data being entered as command parameter values.
Note:
Single values
Element 1: Graphic character set
Element 2: Code page
Top |
CRTDSTL LSTID(DEPT48K DLIST) LSTD('Department 48K Distribution List')
This command creates a distribution list that contains the members of Department&rbl.48K. If this list ID is unique, the distribution list is created.
Top |
*ESCAPE Messages
Top |