Safeguard Reference Manual (G06.24+, H06.03+ )

Disk-File Security Commands
Safeguard Reference Manual520618-013
8-38
FREEZE DISKFILE Command
DISKFILE
specifies DISKFILE as the object type of the FREEZE command. Omit it if
DISKFILE is the assumed object type. (For more information on assumed object
types, see the ASSUME Command on page 4-3.)
filename-list
specifies the disk file or files for which access is to be frozen. filename-list
can be either:
disk-file-name
( disk-file-name [ , disk-file-name ] ... )
disk-file-name
can be any disk-file name. The name can contain wild-card characters.
WHERE option-list
specifies that only disk files in filename-list that have LICENSE, PROGID,
WARNING-MODE, TRUST ME, or TRUST SHARED set are to be frozen.
option-list has the form:
[ ( ] option [ OR option ] [ ) ]
option
can be one of:
PROGID
LICENSE
WARNING-MODE
TRUSTME (H-series only)
TRUSTSHARED (H-series only)
Considerations
Freezing a disk file that is currently open has no effect on any processes that have the
file open. However, after those processes close the file, any attempt to reopen the file
returns a security violation (file error 48). Before freezing a disk file, use the FUP
LISTOPENS command to determine whether the file is currently open.
Examples
User PRS.HARRY (user ID 86,2) uses INFO DISKFILE to display the current status of
a file:
=ASSUME DISKFILE
=INFO $data.harry.sales