Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual—522629-013
5-36
FILE_CREATE_ Procedure
options input
INT:value
specifies optional file attributes. If omitted, the default value of options is 0. The
bits, when set, indicate the following:
<0:8> Reserved (must be 0).
<9> Queue file. The file will be a queue file.
<10> Refresh EOF. A change to the end-of-file value is to cause the file
label to be written immediately to disk.
<11> Index compression. For key-sequenced files, the entries in the index
blocks are to be compressed. Must be 0 for other file types.
<12> Data compression. For key-sequenced files, the keys of entries in the
data blocks are to be compressed. Must be 0 for other file types.
<13> Audit compression. For audited files, the audit data is to be
compressed.
<14> Audited. The file is to be audited under the Transaction Management
Facility (TMF) subsystem. Must be 0 for systems without the TMF
subsystem.
<15> Odd unstructured. For unstructured files, I/O transfers are to occur
with the exact counts specified. If this option is not set, transfers are
rounded up to an even byte boundary. Must be 0 for other file types.
See “Considerations.”
recordlen input
INT:value
for structured files, specifies the maximum number of bytes in a logical record. If
omitted, 80 is used. This parameter is ignored for unstructured files. For queue
files, this parameter must include 8 bytes for a timestamp.
The formulas for computing the maximum record length (MRL) based on
blocklen are:
•
For relative and entry-sequenced files:
MRL = blocklen - 24
•
For key-sequenced files:
MRL = blocklen - 34