Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!oliveb!pyramid!batcomputer!tedcrane From: tedcrane@batcomputer.tn.cornell.edu (Ted Crane) Newsgroups: comp.os.vms Subject: Re: VMS/RMS question Message-ID: <827@batcomputer.tn.cornell.edu> Date: Mon, 27-Apr-87 14:23:59 EDT Article-I.D.: batcompu.827 Posted: Mon Apr 27 14:23:59 1987 Date-Received: Wed, 29-Apr-87 05:24:20 EDT References: <8704250736.AA09643@ucbvax.Berkeley.EDU> Reply-To: tedcrane@tcgould.tn.cornell.edu.UUCP (Ted Crane) Distribution: world Organization: Program of Computer Graphics, Cornell University Lines: 14 In article <8704250736.AA09643@ucbvax.Berkeley.EDU> SERAFINI%RAL@AMES-IO.ARPA.UUCP writes: >How can I find out if a file is readable or writable given the current >process' priveleges? >Is there some system service I don't know about... To put it briefly: SYS$CHECK_ACCESS and SYS$CHKPRO (spelling?). A brief summary of these is available through the on-line help: $ help sys $ch Programming these the first time can be a pain to do, since you have to set up the data structures in whatever your language of habit is. After that, it's cookbook. More reference material: System Services Reference.