Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual—522629-013
5-76
FILE_GETINFOLIST_ Procedure
78 2 Broken. For disk objects other than SQL shorthand views, 1 if
the object has the broken flag set; 0 otherwise.
79 2 Corrupt. For disk objects other than SQL shorthand views, 1 if
the object has the corrupt flag set; 0 otherwise.
80 2 Secondary partition. For disk objects, 1 if the file is a secondary
partition of a partitioned file.
81 2 Index levels. For key-sequenced disk objects, the number of
levels currently used in the key indexing structure.
82 2 SQL program. For disk objects, 1 if the file is a program file
containing compiled SQL statements; 0 otherwise.
83 2 SQL valid. For disk objects, 1 if the file is a program file
containing compiled SQL statements and the compilation is
probably valid.
84 2 SQL-catalog name length. For disk objects, the number of
bytes in the name of the SQL catalog associated with the
object; 0 if no catalog is associated with the object.
85 * SQL-catalog name. For disk objects, the fully qualified name of
the SQL catalog associated with the object. The length of the
name is given by item 84.
90 2 Number of partitions. For disk objects, the number of
secondary partitions the disk object has.
91 * Partition descriptors. For disk files, an array of 4-byte partition
descriptors, one for each secondary partition. Each entry has
the following structure:
INT primary-extent-size;
INT secondary-extent-size;
These values give the primary and secondary extent sizes in
pages (2048-byte units). The length in bytes of this item is 4
times the value of item 90. A value of -1 in either of the fields
means that the corresponding extent size cannot fit into the
unsigned 2-byte field. Item 97 must be used to get the correct
value. Superseded by item 97.
Table 5-4. FILE_GETINFOLIST_ Item Codes (page 8 of 21)
Items in this table with a size of 2 bytes are of data type INT. The term “disk file”
applies only to Enscribe files. The term “disk object” applies to Enscribe files and
SQL objects. Items described as “Applies only to SQL/MX objects” return file system
error 2 if queried on anything that is not an SQL/MX object.
Item
Code
Size
(Bytes) Description