Remove SMTP Dist List Entry (RMVSDSTLE)

The Remove SMTP Distribution List Entry (RMVSDSTLE) 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.

Parameters

Keyword Description Choices Notes
LSTID List ID Character value Required, Positional 1
USRID User identifier Values (up to 300 repetitions): Character value Optional, Positional 2

List ID (LSTID)

Specifies the list identification (ID) of the distribution list that is to have entries removed.

This is a required parameter.

list-identification
If any lowercase characters are specified, the system changes them to, and stores them as, uppercase characters.

User identifier (USRID)

Specifies the recipient address of the user that is to be removed from the distribution list.

You can enter multiple values for this parameter.

Up to 300 sets of addresses can be specified. Each valid set is removed from the distribution list.

At least one set of User identifier is required.

Examples

RMVSDSTLE  LSTID(dstlid)
           USRID((user1@domain1) (user2@domain2))

In this example, two user IDs are removed from the distribution list dstlid.

Error messages

*ESCAPE Messages

TCP96C8
List ID, &1, cannot be found.
TCP96C9
List ID &1 is not a valid name.
TCP96CF
No entries removed from list &1.
TCP96D0
&1 entries removed from list &2, &3 entries not removed.
TCP90A8
*SECADM special authority required to do requested operation.