Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Remove Distribution List Entry (RMVDSTLE) command allows you to remove entries from a distribution list. Up to 300 entries can be removed from the list at one time.
Restriction: You must have security administrator authority (*SECADM) to remove entries from a distribution list owned by someone else.
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 | Values (up to 300 repetitions): Element list | Required, Positional 2 |
Element 1: User ID | Character value | ||
Element 2: Address | Character value | ||
Element 3: User description | Character value, *FIRST, *ALL | ||
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 identification (ID) of the distribution list that is to have entries removed.
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 user ID, address, and description of the user being removed from the distribution list. Both the user ID and address must be provided. The description can be entered to specify deletion of a specific description for a user ID.
You can enter multiple values for this parameter.
A two-part list ID (user-ID and address) can be used in place of the user ID and address to identify a remote distribution list being removed.
Up to 300 sets of user IDs, addresses, and descriptions can be specified. Each valid set is removed from the distribution list.
At least one set of user IDs is required.
If any lowercase characters are specified, the system changes them to, and stores them as, uppercase characters.
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
Note:
Top |
RMVDSTLE LSTID(CHICAGO DLIST) USRID((HURST PAYROLL 'Manager of Payroll') (LEE DEPT554 *FIRST) (BOCA DLIST 'Remote Distribution List') (BRYON WAREHSE *ALL))
In this example, four user IDs are removed from the distribution list CHICAGO DLIST. The third user ID is, in fact, a remote distribution list. All entries for BRYON WAREHSE are removed from the list.
Top |
*ESCAPE Messages
Top |