HP OpenVMS Systems

ask the wizard
Content starts here

displaying the newmail count in a procedure?

» close window

The Question is:

 
I would like a way to display a messages stating the number of new VMS mail
messages a user has while they are running a captive account menu procedure.
 
Is there a way using DCL?  If not, how about COBOL (v2.4).  I've been trying
to write a simple COBOL program that would user MAIL$_USER_BEGIN,
MAIL$_GET_INFO, AND MAIL$_USER_END, but have not been successful.
 
Thanks.
 
 


The Answer is :

 
  Insert the DCL command:
 
     $ MAIL
 
  in the command procedure.
 

answer written or last revised on ( 16-JUL-1998 )

» close window