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

Table Of Contents
Disk-File Security Commands
Safeguard Reference Manual 520618-030
8 - 62
SET DISKFILE Command
PROGID {ON|OFF}
has meaning only for program object disk files. The PROGID attribute affects
the way a process’s process accessor ID (PAID) is set when the process is
run. Normally, a PAID is set to the user ID of the user who runs the process.
But if PROGID for a program object file is set to ON when the program is run,
the PAID of the resulting process is set to the user ID of the object file’s
primary owner.
PROGID ON
means that the PROGID attribute is set to ON for all program object files in
the filename-list of subsequent ADD DISKFILE commands.
PROGID OFF
means that the PROGID attribute is set to OFF for all program object files
specified in the filename-list of subsequent ADD DISKFILE
commands.
CLEARONPURGE {ON|OFF}
specifies whether the data pages for a disk file are physically cleared when the
disk file is purged.
Normally, a disk process purges a disk file by removing the file entry from the
volume directory. This action frees the disk space occupied by the file for later
allocation to other disk files but does not physically alter the data pages
allocated on disk for the file. Those data pages are not physically altered until
they are allocated to another disk file and are subsequently overwritten with
new data.
When a disk file that has the CLEARONPURGE attribute set ON is purged, the
disk process not only removes the file entry from the volume directory, it also
writes null characters to all the data pages allocated to the purged file.
CLEARONPURGE ON
The CLEARONPURGE attribute is set to ON
for all disk files in
filename-list of subsequent ADD DISKFILE commands.
CLEARONPURGE OFF
the CLEARONPURGE attribute is set to OFF for all disk files in
filename-list of subsequent ADD DISKFILE commands.
PERSISTENT {ON|OFF}
specifies whether the authorization record for a disk file is to be retained if the
disk file is purged.
When PERSISTENT is ON, the authorization record for the disk file is retained
if the file is purged. If you purge a file with PERSISTENT ON and later create a