Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual—522629-013
5-42
FILE_CREATELIST_ Procedure
variable-length item has an associated value that gives its length, as specified in
the table.
values-length input
INT:value
is the size in bytes of
values.
error-item output
INT .EXT:ref:1
if present, returns the index of the item in
item-list that was being processed
when an error was detected, or is one greater than the number of items in item-list
if an error was detected after the processing of individual items was completed.
The index of the first item in
item-list is 0.
Item Codes
Table 5-3 shows the item codes that can be specified when calling
FILE_CREATELIST_.
Table 5-3. FILE_CREATELIST_ Item Codes (page 1 of 12)
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.
Item
Code
Size
(Bytes) Description
41 2 File type. For disk objects other than SQL shorthand views,
specifies the type of structure the file is to have. This item must
occur in the item list before other items whose meanings
depend on the file type. Valid values are:
0 unstructured
1 relative
2 entry-sequenced
3 key-sequenced
The default value is 0.
42 2 File code. For disk objects other than SQL shorthand views, an
application-defined value associated with the file. File codes
100 through 999 are reserved for use by HP. The default value
is 0.
43 2
Logical record length. For structured disk objects, the
maximum number of bytes in a logical record. The default value
is 80. For details, see the
recordlen parameter of
FILE_CREATE_. Item 196 is an alternate form for this item.