Change your new mail count register.
Requires SYSPRV privilege to set information for users other than yourself; requires SYSPRV or SYSNAM privilege to show information about users other than yourself.
SET NEW_MAIL_COUNT count
Qualifiers Defaults /LOG /NOLOG /UIC="[g,m]" None /USER=username None
countRequired parameter specifying the new count.
Now and then, you may find that your new mail count is incorrect. This count appears when you login or invoke VMS or PMDF MAIL. There are several technical reasons for why this can happen. You may use the
SET NEW_MAIL_COUNTto change the count. Use the
SHOW NEW_MAIL_COUNTcommand to display the count.
It is important to keep in mind that the value of this counter may be manipulated independently of the number of new mail messages which you actually have. If you have five new mail messages and set the counter to zero, then you still have five new mail messages which you may still read. All that has changed is the value of a counter (register); the value of this counter is reported when you first login,
and when you invoke VMS or PMDF MAIL. Whenever you receive a new mail message, the value of this counter is increased by one; when you read a new mail message, the value of this counter is decreased by one.
You have 1 new Mail message.
EMAIL> SET NEW_MAIL_COUNT 0 EMAIL> SHOW NEW_MAIL_COUNT You have 0 new messages. EMAIL>
In this example, the new mail count is set to zero.
EMAIL> SET NEW_MAIL_COUNT/USER=EKANE/LOG 0 %EMAIL-S-MODRECORD, MROCHEK record modified %EMAIL-I-MODRECORDS, 1 record modified EMAIL> SHOW NEW_MAIL_COUNT/USER=EKANE MROCHEK has 0 new mail messages EMAIL>
In this example, the new mail count for the user EKANE is set to zero.