Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual—522629-013
3-157
CREATE Procedure
(Superseded by FILE_CREATELIST_ Procedure )
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 the following forms (to create a
permanent or temporary disk file):
Permanent Disk File
[0:3] $volname (blank-fill)
or
\
sysnum volname (blank-fill)
[4:7] subvol-name (blank-fill)
[8:11] file-id (blank-fill)
Temporary Disk File
[0:3] $volname (blank-fill)
or
\
sysnum volname (blank-fill)
[4:11] blank-fill
When CREATE finishes, a temporary file name is returned in
file-name [4:7].
The temporary file can then be opened by passing
file-name to OPEN.
primary-extentsize input
INT:value
is the size of the primary extent in pages (one page is 2048 bytes). The maximum
value of
primary-extentsize is 65,535 (134,215,680 bytes). If omitted, a
primary extent size of 1 page is assigned.
file-code input
INT:value
is an application-defined file identification code (file codes 100-999 are reserved for
use by HP). If omitted, a file code of 0 is assigned. Refer to the
Guardian Utilities
Reference Manual for a list of HP file codes.