This command reinstates all file security provisions that you
previously suspended with the RELEASE command.
Syntax
SECURE filereference
Parameters
filereference
Specifies the actual file designator for which you want to reinstate
file access control. The filereference can be either in MPE or HFS syntax.
MPE Syntax
If the filereference does not begin with a dot or a slash, it is parsed according to the MPE syntax and has the form:
filename[/lockword][.groupname[.acctname]]
If the file has a lockword, you must specify it;
otherwise, the system prompts you for it.
If you do not specify groupname.acctname, the system assumes the logon group
and account.
HFS Syntax
If the filename begins with a dot (.) or a slash (/), it is parsed according to HFS syntax.
Operation Notes
Usage
You can enter this command from a session, a job, a program, or in break mode. Pressing Break does not affect this command.
You can use this command only for permanent disk files you created.
Under default system security provisions, the
file must be in your logon account and must belong to your logon or
home group.
Checking the file status
You can enter the LISTFILE
command to determine if a file is currently released or secured.
Refer to the LISTFILE command in this book for more information.
Access control definition
An access control definition (ACD) overrides file access controls whether
or not you have released or secured the file.
Example
To reinstate file access control previously in effect for the file named
FILE1, enter: