Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual—522629-013
3-158
CREATE Procedure
(Superseded by FILE_CREATELIST_ Procedure )
secondary-extentsize input
INT:value
is the size of the secondary extents in pages (one page is 2048 bytes). (The
maximum number of secondary extents that a file can have allocated is
maximum-
extents - 1. See maximum-extents, below.) The maximum value of
secondary-extentsize is 65535 (134,215,680 bytes). If omitted, the size of
the primary extent is used for the secondary extent size.
file-type input
INT:value
specifies the type of file to be created. If omitted, an unstructured file is created.
<0:1> Must be 0.
<2> In systems with the Transaction Management Facility (TMF),
specifies that this file is audited; for systems without TMF, this bit is
0.
<3:8> Must be 0.
<9> Specifies that this file is a queue file.
<10> specifies that the file label is written to disk each time the end of file
(EOF) is advanced.
<11> Specifies index compression for key-sequenced files (see the
Enscribe Programmer’s Guide).
<12> Specifies ODDUNSTR access to unstructured files. With the
default (
file-type.<12> = 0), a relative byte address (RBA)
used for reading, writing, or positioning in the file, is rounded up to
the next even number (whole word boundary); thus, 3 rounds up
to 4, and so forth. ODDUNSTR prevents this rounding, so that
reading, writing, or positioning occurs at the exact RBA specified.
(See “Considerations.”)
<12> Specifies data compression for key-sequenced files. Rrefer to the
Enscribe Programmer’s Guide for additional information.)
<13:15> Specifies the file structure:
0 Unstructured (default)
1Relative
2 Entry-sequenced
3 Key-sequenced