Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!decvax!decwrl!ucbvax!BBN-SPCA.ARPA!gwalker From: gwalker@BBN-SPCA.ARPA.UUCP Newsgroups: mod.computers.vax Subject: Re: Quick question--how to set file protection from program in VMS Message-ID: <8606090005.AA00951@ucbvax.Berkeley.EDU> Date: Sun, 8-Jun-86 18:35:13 EDT Article-I.D.: ucbvax.8606090005.AA00951 Posted: Sun Jun 8 18:35:13 1986 Date-Received: Sun, 8-Jun-86 23:52:23 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 9 Approved: info-vax@sri-kl.arpa Check the RMS manuals, for the XABPRO block. I'm not familiar enough with Fortran - but you must be able to open the file for writing with a XABPRO attached to the FAB. (This may mean you need to use the USEROPEN feature of Fortran). Then set the protection you want into the XABPRO and close the file. I've done this from C - we don't use the existing libraries so we have our own change protection routine - and that is the method it uses. -- Gail Rubin Walker gwalker@bbn-spca