Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: awpsys@ultb.UUCP (Andrew W. Potter)
Subject: Re: VMS 5.0 VMSMail_Profile.Data format
Date: 11 Feb 89 02:01:53 GMT	[thread overview]
Message-ID: <343@ultb.UUCP> (raw)
In-Reply-To: 14397@cup.portal.com

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


  parent reply	other threads:[~1989-02-11  2:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1989-02-08  0:22 VMS 5.0 VMSMail_Profile.Data format David_Anthony_Guevara
1989-02-09  9:48 ` rickm
1989-02-11  2:01 ` Andrew W. Potter [this message]
  -- strict thread matches above, loose matches on Subject: below --
1989-02-09 20:36 madison
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox