Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual—522629-013
5-157
FILEINFO Procedure (Superseded by
FILE_GETINFOLIST_ Procedure )
[1] Returns the reading security of the file.
[2] Returns the writing security of the file.
[3] Returns the execution security of the file.
[4] Returns the purging security of the file.
In
security[1:4], the returned values are:
num-extents-allocated output
INT:ref:1
returns the number of extents that are allocated for the file. This parameter is
invalid with
filenum; use file-name.
max-file-size output
INT(32):ref:1
returns the maximum number of bytes configured for the file. This parameter is
invalid with
filenum; use file-name. A returned value of -1 in this parameter
means that the true value cannot fit into this unsigned 4-byte parameter. The
superseding procedure must be used to get the correct value.
partition-size output
INT:ref:1
returns the size in words of the area needed for the file’s partition information array.
This file partition information is retrieved from the
partition-parameters array
in the FILERECINFO procedure. This parameter is invalid with
filenum; use
file-name.
num-partitions output
INT:ref:1
returns the number of secondary partitions configured for the file. This parameter
is invalid with
filenum; use file-name.
file-type output
INT:ref:1
returns the file type and other information about the file. This parameter is invalid
with
filenum; use file-name. All bits are 0, except as described below:
<2> 1 For systems with the Transaction Management Facility, indicates this
file is audited.
Returned Value 0 1 2 3 4 5 6 7
Security Level
A G O n/a N C U Super