Guardian Procedure Calls Reference Manual
CREATE Procedure (Superseded by FILE_CREATELIST_ Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Considerations
Safeguard Considerations
OSS Considerations
Example
Related Programming Manual
Summary
NOTE: This procedure is supported for compatibility with previous software and should not be
used for new development.
The CREATE procedure is used to define a new structured or unstructured disk file. The file can be
temporary (and therefore automatically deleted when closed) or permanent. When a temporary
file is created, CREATE returns its file name in a form suitable for passing to the OPEN procedure.
Syntax for C Programmers
This procedure does not have a C syntax, because it is superseded and should not be used for
new development. This procedure is supported only for compatibility with previous software.
Syntax for TAL Programmers
CALL CREATE ( file-name ! i,o
,[ primary-extentsize ] ! i
,[ file-code ] ! i
,[ secondary-extentsize ] ! i
,[ file-type ] ! i
,[ recordlen ] ! i
,[ data-blocklen ] ! i
,[ key-sequenced-params ] ! i
,[ alternate-key-params ] ! i
,[ partition-params ] ! i
,[ maximum-extents ] ! i
,[ unstructured-buffer-size ] ! i
,[ open-defaults ] ); ! i
Parameters
file-name
input, output
INT:ref:12
is an array containing the internal-format file name of the disk file to be created. The value of
file-name must be in one of these forms (to create a permanent or temporary disk file):
228 Guardian Procedure Calls (C)