Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual522629-013
3-161
CREATE Procedure
(Superseded by FILE_CREATELIST_ Procedure )
Condition Code Settings
< (CCL) indicates that the CREATE failed (call FILEINFO or FILE_GETINFO_ ).
= (CCE) indicates that the file was created successfully.
> (CCG) indicates that the device is not a disk.
Considerations
key-sequenced-params array format
key-len
(INT:value)
is the length, in bytes, of the record’s primary-key field. This length can be no
larger than 255 bytes.
key-offset
(INT:value)
is the number of bytes from the beginning of the record to where the primary-
key field starts. This attribute applies only to Enscribe files.
index-block-len
(INT:value)
was the length, in bytes, of each index block in the file on older systems. On
current systems, the value of
data-blocklen is used as the value of index-
block-len
.
alternate-key-params array format
Word[0] key-len
Word[1] key-offset
Word[2] index-block-len
08
Word[0] nf-alt-files nk-alt-keys
Word[1]
Key Description for
Alternate Key 0
Key Description for
Alternate Key nk - 1
[k * 4 + 1]
File Name of Key File 0
File Name of Key File nf - 1