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

Table Of Contents
Disk-File Security Commands
Safeguard Reference Manual 520618-030
8 - 41
FREEZE DISKFILE Command
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
A brief report shows:
To freeze the file:
=FREEZE $data.harry.sales
To see the new status:
=INFO $data.harry.sales
LAST-MODIFIED OWNER STATUS WARNING-MODE
$DATA.HARRY
SALES 8JUN87, 14:32 86,2 THAWED OFF
086,001 R
086,002 R,W,E,P, O
086,255 R,W,E,P, O