Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual522629-013
5-160
FILEINFO Procedure (Superseded by
FILE_GETINFOLIST_ Procedure )
Condition Code Settings
< (CCL) indicates that an error occurred; the error number returns in error.
= (CCE) indicates that FILEINFO executed successfully.
> (CCG) indicates that an error occurred; the error number returns in
error.
Considerations
Specifying a file number or a file name
If FILEINFO is called specifying
filenum, the returned information is obtained
from the access control block. If it is called specifying
file-name, but not
filenum, the returned information is obtained from the file label. There is no
check to see if the file is actually opened when
file-name is specified.
Table 5-8. FILEINFO filenum and file-name Parameters
Parameter File Number File Name
( [ < filenum > ]
, [ < error > ]
, [ < filename > ]
, [ < Idevnum > ]
, [ < devtype > ]
, [ < extent-size > ]
, [ < eof-location > ]
, [ < next-record-pointer > ]
, [ < last-modtime > ]
, [ < filecode > ]
, [ < secondary-extent-size > ]
, [ < current-record-pointer > ]
, [ < open-flags2 > ]
, [ < subdev > ]
, [ < owner > ]
, [ < security > ]
, [ < num-extents-allocated > ]
, [ < max-file-size > ]
, [ < partition-size > ]
, [ < num-partitions > ]
, [ < file-type > ]
, [ < maximum-extents > ]
, [ < unstructured-buffer-size > ]
, [ < more-flags > ]
, [ < sync-depth > ]
, [ < next-open-fnum > ] )
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X