Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual522629-013
5-152
FILEINFO Procedure (Superseded by
FILE_GETINFOLIST_ Procedure )
Syntax for TAL Programmers
Parameters
filenum input
INT:value
is the number of an open file that identifies the file whose characteristics are to be
returned. Either
filenum or file-name must be specified; if both are passed,
then
file-name is set to the file name associated with filenum. If filenum is
not specified, error 2 is returned for non-disk files.
error output
INT:ref:1
returns the error number associated with the last operation on the file.
filenum or
file-name can be specified with this parameter, but see the “Considerations”
before passing these. Refer to the
Guardian Procedure Errors and Messages
Manual for error recovery information.
CALL FILEINFO ( [ filenum ] ! i
,[ error ] ! o
,[ file-name ] ! i,o
,[ ldevnum ] ! o
,[ devtype ] ! o
,[ extent-size ] ! o
,[ eof-pointer ] ! o
,[ next-record-pointer ] ! o
,[ last-modtime ] ! o
,[ filecode ] ! o
,[ secondary-extent-size ] ! o
,[ current-record-pointer ] ! o
,[ open-flags ] ! o
,[ subdevice ] ! o
,[ owner ] ! o
,[ security ] ! o
,[ num-extents-allocated ] ! o
,[ max-file-size ] ! o
,[ partition-size ] ! o
,[ num-partitions ] ! o
,[ file-type ] ! o
,[ maximum-extents ] ! o
,[ unstructured-buffer-size ] ! o
,[ more-flags ] ! o
,[ sync-depth ] ! o
,[ next-open-fnum ] ); ! o