Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (D-F)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
5-29
FILE_CREATE_
Defines a new structured or unstructured disk file. This procedure operates only on
Guardian objects.
error := FILE_CREATE_ ( filename:maxlen
,filenamelen
,[ file-code ]
,[ primary-extent-size ]
,[ secondary-extent-size ]
,[ maximum-extents ]
,[ file-type ]
,[ options ]
,[ recordlen ]
,[ blocklen ]
,[ keylen ]
,[ key-offset ] );
error, INT returned value
filename:maxlen, STRING .EXT:ref:*,INT:value input, output:input
filenamelen, INT .EXT:ref:1 input, output
file-code, INT:value input
primary-extent-size, INT:value input
secondary-extent-size, INT:value input
maximum-extents, INT:value input
file-type, INT:value input
0 Unstructured.
1 Relative.
2 Entry-sequenced.
3 Key-sequenced.
options, INT:value input
<0:9> Reserved (must be 0).
<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.