Safeguard Reference Manual (G06.29+, H06.08+, J06.03+)

Table Of Contents
Disk-File Security Commands
Safeguard Reference Manual 520618-030
8 - 36
DELETE DISKFILE Command
WARNING-MODE { ON | OFF }
defines whether the warning mode is enabled for the specified diskfile pattern.
The value is required. For more information on warning mode, see the
Safeguard Administrator's Manual.
ON enables warning mode for the specified diskfile p
attern. The initial value is
OFF, which disables warning mode for the specified diskfile pattern.
Considerations
Altering a disk file that is currently open
Using ALTER DISKFILE-PATTERN to change one or more attributes for a disk file
described by that pattern has no effect on any users currently accessing the disk
file. (That is, changing file security attributes has no effect on processes that
currently have the disk file open.)
For example, if you change a disk-file ACL to deny Read access to a user who is
running a process that is currently accessing the file, the process can continue
accessing the file until it closes the file. However, when the process attempts to
reopen the file for Read access, the Safeguard software returns a security violation
(file error 48).
Examples
1. To alter a diskfile pattern to give SUPER.SUPER read and write access:
ALTER DISKFILE-PATTERN $DATA.APLOGS.LOG*, &
ACCESS SUPER.SUPER (R,W)
2. To alter all diskfile pattern that match $DATA*.APLOGS.LOG*:
ALTER DISKFILE-PATTERN $DATA*.APLOGS.LOG*, ALL, &
ACCESS SUPER.SUPER (R,W)
The above command would alter the diskfile p
atterns for all matching patterns. For
example, if the following patterns exist, they are altered as:
$DATA01.APLOGS.LOGAPR*
$DATA1.APLOGS.LOG*
$DATA123.APLOGS.LOG?
$DATA.APLOGS.LOG????
$DATABLE.APLOGS.LOGON?1A
DELETE DISKFILE Command
The DELETE DISKFILE command deletes the authorization record for a disk file. After
a file-authorization record is deleted, the file is placed under the control of the standard