Sending mail to a distribution list
You can send the same message to multiple users at the same time by using a distribution list.
If you use mailx to send a message, you can specify the address of each z/OS UNIX user you want to receive the message. The simplest address is the TSO/E user ID.
Example: To send
a message to pfeif, lowell, eliza, and fabish, issue:
mailx pfeif lowell eliza fabish
To send a message to a list of people, you can specify an address alias that contains a list of login names.
Example: To set
up an alias for the test team, issue:
alias test pfunt lulu detsch naga
Result: When you send a message to the address alias test, it will go to all the login names you specified on the alias command.
Aliases that are entered interactively remain in effect only for the current session. If you want to make the address alias permanent, put the alias command in your .mailrc startup file.