Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!sri-spam!ames!ucbcad!ucbvax!CITHEX.CALTECH.EDU!carl From: carl@CITHEX.CALTECH.EDU.UUCP Newsgroups: mod.computers.vax Subject: Re: RMS attributes of a file Message-ID: <870129170124.0ka@CitHex.Caltech.Edu> Date: Thu, 29-Jan-87 20:01:24 EST Article-I.D.: CitHex.870129170124.0ka Posted: Thu Jan 29 20:01:24 1987 Date-Received: Sat, 31-Jan-87 05:30:07 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 15 Approved: info-vax@sri-kl.arpa The RMS attributes of a file are stored in the UFAT (user file attributes area) of the file's header(s), which is(are) stored in [000000]INDEXF.SYS. There are two common ways of accessing these attributes: 1) Use RMS routines to get them for you (see the RMS manual); or 2) Read the appropriate block of INDEXF.SYS and deal with the information there. The first method is recommended for most purposes. However, it is possible to use RMS to modify file attributes (especially if you use $MODIFY and certain undocumented RMS features) in such a way that the resulting file has invalid attributes, after which RMS won't let you do anything. In such cases, it is necessary to edit INDEXF.SYS directly. By the way, is there anybody out there who'd be willing to put a copy of the ODS-2 document I referred to a while back in this teleconference somewhere that people can get at it conveniently via anonymous FTP or BITNET? (said document describes, among other things, the layout of file headers, including RMS's use of H.UFAT).