Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual—522629-013
5-218
FILERECINFO Procedure (Superseded by
FILE_GETINFOLISTBYNAME_ Procedure )
logical-recordlen output
INT:ref:1
returns the maximum size of the logical record in bytes.
blocklen output
INT:ref:1
returns the length, in bytes, of a block of records for the file.
key-sequenced-parameters output
INT:ref:*
is an array where the parameters unique to a key-sequenced file are returned.
(Refer to the CREATE procedure for the format of this array.)
alternate-key-parameters output
INT:ref:*
is an array where the parameters describing the file’s alternate keys are returned.
(Refer to the CREATE procedure for the format of this array. The length of the
array can be obtained by calling FILEINQUIRE.)
partition-parameters output
INT:ref:*
is an array where the parameters describing a multivolume file are returned.
(Refer to the CREATE procedure for the format of this array. The length of the
array can be obtained by calling FILEINQUIRE.) The 2-byte unsigned extent size
fields of this parameter are cannot represent all possible values. When a value is
not representable, -1 is substituted. The superseding procedure must be used to
get the correct value.
file-name input
INT:ref:12
is an internal-format file name that identifies the file whose characteristics are
returned. You must specify either
filenum or file-name; specifying both
causes a CCL condition code.
When you specify
file-name, the only parameters returned are filetype,
logical-recordlen, blocklen, key-sequenced-parameters,
alternate-key-parameters, and partition-parameters.
This information is acquired from the volume directory and not from any system
control structures, so there is no check to see if the file is actually opened by this or
any other process.