Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual522629-013
5-72
FILE_GETINFOLIST_ Procedure
31 2 Device subtype. The device subtype associated with the
specified file.
32 2 Demountable disk. For disk volumes and disk objects, 1 if the
volume is demountable; 0 otherwise.
33 2 Audited disk. For disk volumes and disk objects, 1 if the volume
can support audited files; 0 otherwise.
34 2 Physical record length. For disk volumes and files, the
maximum transfer length of the device; for processes and
$RECEIVE, 132 by convention; for other devices, a configured
value that generally represents some physical limit. This is
always an unsigned value representing a number of bytes.
35 4 Logical device number. For processes, -1; for other files, the
number of the device supporting the specified file. For
partitioned files, the number of the device supporting the
specified partition is returned.
36 2 Subdevice number. The number associated with a subdevice
and assigned by the device subsystem.
40 2 SQL type. For disk objects:
0 Unstructured or Enscribe file
2 SQL table
4 SQL index
5 SQL protection view
7 SQL shorthand view
11 SQL/MX table or view
12 SQL/MX index
41 2 File type. For disk objects other than SQL shorthand views:
0 unstructured
1 relative
2 entry-sequenced
3 key-sequenced
42 2 File code. For disk objects other than SQL shorthand views,
the application-defined file code.
43 2 Logical record length. For structured disk objects, the
maximum number of bytes in a logical record. Superseded by
item 196.
Table 5-4. FILE_GETINFOLIST_ Item Codes (page 4 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