Previous Topic: Example 1Next Topic: Delete Mail Messages


Example 2

An administrator wants to put out application news for the CA TPX application TSO01. The application news will consist of a single line, saying that the application is going to be brought down. The message is to expire on 3 February 2003. The following statement accomplishes this task:

ADD MAILMESSAGE EXPIRING (MM(02) DD(3) YY(03)) SUBJECT 
    ( 'APPLID=TSO01 going down midnight Friday') TO (*BULLETIN*)

When this statement is executed, the message will appear on the Menu for each user who has TSO01 on the menu.

If the message included text as well as a subject, a bulletin containing the text would appear in the mailbox of each user who has TSO01 on the menu.