VMS Help  —  CREATE  file  Qualifiers  /PROTECTION
       /PROTECTION=(ownership[:access][,...])

    Specifies protection for the file.

    o  Specify the ownership parameter as system (S),  owner (O),
       group (G),  or world (W).

    o  Specify the access parameter as read (R),  write (W), execute
       (E),  or delete (D).

    If you do not specify a value for each access category, or if you
    omit the /PROTECTION qualifier, the CREATE command applies the
    following protection for each unspecified category:

    File
    Already
    Exists?    Protection Applied

    Yes        Protection of the existing file
    No         Current default protection

                                   NOTE

       If you attempt to create a file with no access, the
       file is created with the system default RMS protection
       values. To create a file with no access, use the SET
       SECURITY/PROTECTION command.

    For more information on specifying protection codes, see the HP
    OpenVMS Guide to System Security.
Close Help