Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual522629-013
5-219
FILERECINFO Procedure (Superseded by
FILE_GETINFOLISTBYNAME_ Procedure )
Considerations
The FILERECINFO procedure is used to determine whether a file is a queue file or
an ordinary key-sequenced file. This procedure should not be used for determining
the value of the current key of the queue file, because the current key position is
not maintained for queue files. The
current-keyvalue parameter that would be
returned for a queue file is undefined.
Condition Codes
< (CCL) indicates that an error occurred. This can indicate that the specified file
was not found or that both
filenum and file-name were specified in
the same FILERECINFO call. This can also indicate that the
current-
keyvalue and current-primary-keyvalue parameters were used
with non-key-sequenced files opened with 64-bit primary keys open flag.
= (CCE) indicates that FILERECINFO executed successfully.
> (CCG) indicates that the file is not a disk file.
Example
CALL FILERECINFO ( FILE^NUMBER
, ! current key specifier.
, ! current key value.
, ! current key length.
, ! current primary key value.
, ! current primary key length.
, ! partition in error.
, ! key in error.
,FILE^TYPE );