Xref: utzoo comp.os.vms:11842 comp.sys.dec:1030 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!elroy!peregrine!ccicpg!cci632!rit!ultb!awpsys From: awpsys@ultb.UUCP (Andrew W. Potter) Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: VMS 5.0 VMSMail_Profile.Data format Message-ID: <343@ultb.UUCP> Date: 11 Feb 89 02:01:53 GMT References: <14397@cup.portal.com> Reply-To: awpsys@ultb.UUCP (Andrew W. Potter(752DCO)) Followup-To: comp.os.vms Distribution: usa Organization: Rochester Institute of Technology, Information Systems Lines: 28 In article <14397@cup.portal.com> David_Anthony_Guevara@cup.portal.com writes: >Does anyone have documentation on the format of the new VMS 5.0 >mail file? Either that or a version of SYS$EXAMPLES:MAILUAF.COM >that will run under VMS 5.0-2. At my site, we used to use this >utility as part of a procedure for taking user accounts off of the >system. If all you want to do is delete a record from the vms mail database, you can do it with a simple command procedure. In both VMS V4 and V5 the primary key is the username. $! Procedure to delete MAIL UAF records $! $ open/read/write/share mailuaf sys$system:vmsmail_profile.data $ read/key='p1'/delete/err=not_there mailuaf mail_record $not_there: $ close mailuaf simply call this procedure passing the username as parameter P1. - Andy -- Andrew W. Potter Email: awpsys@ritvax.BITNET Systems Programmer awp8101%ritcv@cs.rit.edu Information Systems and Computing Rochester Institute of Technology, Rochester NY, 14623 (716) 475-6994