Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual522629-013
5-73
FILE_GETINFOLIST_ Procedure
44 2 Block length. For structured disk objects, the length in bytes of
each block of records in the file; for unstructured disk files, the
size in bytes of the system buffer used internally. Superseded
by item 197.
45 2 Key offset. For key-sequenced disk files, the byte offset from
the beginning of the record to the primary key field.
Superseded by item 198.
46 2 Key length. For key-sequenced disk files, the maximum
number of bytes in the file’s primary key field.
47 2
Lock key length. For key-sequenced disk files, the generic-lock
key length. If this value has never been set, the key length of
the file (the value of item 46) is returned. Refer to the
Enscribe
Programmer’s Guide for information about generic locking.
48 2 Queue File. For disk objects, this is nonzero if the object is a
queue file; otherwise it is zero.
50 2 Primary extent size. For disk objects other than SQL shorthand
views, the size in pages (2048-byte units) of the first extent. A
returned value of -1 means that the extent size cannot fit into
this unsigned 2-byte attribute. Item 199 must be used to get the
correct value. Superseded by item 199.
51 2 Secondary extent size. For disk objects other than SQL
shorthand views, the size in pages (2048-byte units) of extents
after the first extent. A returned value of -1 means that the
extent size cannot fit into this unsigned 2-byte attribute. Item
200 must be used to get the correct value. Superseded by
item 200.
52 2 Maximum extents. For disk objects other than SQL shorthand
views, the maximum number of extents the object is allowed to
have.
53 2 Allocated extents. For disk objects other than SQL shorthand
views, the number of extents currently allocated for the file.
54 8 Creation time. For disk objects other than SQL shorthand
views, the Julian GMT timestamp of the file’s creation.
56 8 Last open time. For disk objects other than SQL shorthand
views, the Julian GMT timestamp of the last time the file was
opened.
Table 5-4. FILE_GETINFOLIST_ Item Codes (page 5 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