[comp.os.vms] Moving VMS ACCOUNTNG.DAT files

bink@ecsvax.UUCP (Richard Binkley) (05/20/88)

Has anyone tried moving their ACCOUNTING files out of the SYS$MANAGER
directory? I heard that this could be done at the Fall DECUS, but it
doesn't seem to be doumented and it doesn't work for me. Theoretically,
a logical name can be defined (/SYSTEM) in the same way that the SYSUAF,
VMSMAIL, and RIGHTSLIST logical names are used to move their respective
files (this is documented in the Guide to VAXclusters). Has anyone had 
any luck using this on the ACCOUNTNG.DAT files?

.                                Richard Binkley
                                 UNC School of Public Health:

rrk@byuvax.bitnet (05/22/88)

Yes, it works.  I would suggest:

$ DEFINE/SYSTEM/EXEC/NAME=NO_ALIAS ACCOUNTNG <destination>

where <destination> has the entire path name including no logicals defined
at less than executive mode (although I'm not sure accounting requires this,
it might, and I always do it).  Then issue "SET ACCOUNTING /NEW_FILE" and
the new file should be at the new destination.  I've successfully used this
scheme (or one similar to it) to redirect the accounting records, not to
a file, but to a system mailbox I created which was then read by a detached
accounting process which then did accounting as the records were generated
instead of having to play catch-up at daily or other intervals as it has
to do if the records are sent to a file.  Hope this helps.

                                AMMON::RAY