Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!CUNYVMS1.BITNET!ANK From: ANK@CUNYVMS1.BITNET.UUCP Newsgroups: mod.computers.vax Subject: RE: more on newmail messages... Message-ID: <8704050945.AA27762@ucbvax.Berkeley.EDU> Date: Sun, 5-Apr-87 03:44:00 EST Article-I.D.: ucbvax.8704050945.AA27762 Posted: Sun Apr 5 03:44:00 1987 Date-Received: Sun, 5-Apr-87 22:08:17 EST Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 13 Approved: info-vax@sri-kl.arpa I think this should get the messages on newmail ofcourse change the userID to the relevent one or use generic UIC Anil $!---------------------*cut-this-line-here*----------------------------- $ open /share /read maifile SYS$SYSTEM:VMSMAIL.DAT $ read /index=0 /error=doit /key="ANK" maifile record ! CHANGE THIS TO YR I.D. $ newmsg = F$CVUI(33*8,8,RECORD) $ write sys$output "no. of newmsg ", newmsg $ doit: $ close maifile $ exit