[mod.computers.vax] info request - file protection

pep@MITRE-BEDFORD.ARPA (10/30/86)

	I want to view current file protections and set new file protections 
without spawning the subprocesses, dir/prot and set protection.  Preferably
by calling a system routine from basic(or another high level language).
Any ideas?					Thank you,
						Pat Patchett
                                                     

GKN@SDSC.BITNET (Gerard K. Newman) (11/01/86)

        From:    pep@mitre-bedford.ARPA
        Subject: info request - file protection
        Date:    Wed, 29 Oct 86 21:00:32 EST

            I want to view current file protections and set new file
        protections without spawning the subprocesses, dir/prot and
        set protection.  Preferably by calling a system routine from
        basic(or another high level language). Any ideas?

                        Pat Patchett

See page SYS-446.5 in the VAX/VMS System Services Reference Manual.  It
describes the SYS$SETDFPROT routine which performs that function.

gkn

--------------------------------------
Arpa:   GKN@SDSC-SDS
Bitnet: GKN@SDSC
USPS:   Gerard K. Newman
        San Diego Supercomputer Center
        P.O. Box 85608
        San Diego, CA 92138
AT&T:   619.534.5076