CL Command Reference - ADDDSTLE

CL Command List > ADDDSTLE Reference

Description:

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.


Examples:

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.