PMDF User's Guide
OpenVMS Edition


Previous Next Contents Index


SET & SHOW NEW_MAIL_COUNT

Change your new mail count register.

restrictions

Requires SYSPRV privilege to set information for users other than yourself; requires SYSPRV or SYSNAM privilege to show information about users other than yourself.

Syntax

SET NEW_MAIL_COUNT count

SHOW NEW_MAIL_COUNT

Qualifiers Defaults
/LOG /NOLOG
/UIC="[g,m]" None
/USER=username None

Parameters

count

Required parameter specifying the new count.

Description

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_COUNT to change the count. Use the SHOW NEW_MAIL_COUNT command 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,


You have 1 new Mail message. 
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.


Examples

#1

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.

#2

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.


Previous Next Contents Index