[comp.os.vms] RMS last accessed info

oberman@LLL-ICDC.ARPA ("Oberman, Kevin") (04/28/87)

>Is there any way to retrieve the last accessed date for files? I know last
>revised is available, but haven't found if RMS keeps the last time a file was
>simply read.
>
>I at one time considered archiving user files that had not been accessed in n
>days, but gave up when the hook did not seem to exist.
>
>I know it would slow down i/o and for this reason may not be available, and
>yes, I know users could easily beat the archive system, by copying their files
>to nl: , etc. , but what they don't know will help me free up disk space.

Sure you can do it. It's the EXPIRATION DATE field. To implement this field,
you must use the SET VOL/RETENTION command. This keeps the EXPIRATION DATE
updated within a specified window (default: 1 week). The window is to keep
system overhead down. Updateing this field every time a file (e.g. MAIL.EXE)
is accessed would be too expensive.

The system takes no action on expired files. It is up to the manager to
archive them (BACKUP/EXP/BEFORE=TODAY) and delete them
(DELETE/EXP/BEFORE=TODAY). ANY file existing prior to the time volume retention
is enabled will continue to show No Expiration Date until the file is accessed.

						R. Kevin Oberman
						Lawrence Lavermore National Lab
						arpa: oberman@lll-icdc.arpa
						(415) 422-6955
------