TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-81
#CREATEFILE Built-In Function
#CREATEFILE Built-In Function
Use #CREATEFILE to create an unstructured file.
option can be:
EXTENT num
the number of data pages allocated for the primary and all secondary extents.
For format 1 files, specify num as an integer in the range from 1 through
65535.
For format 2 files, specify num as an integer in the range from 1 through
512000000.
The default value is 2.
FILEFORMAT num
the file format.
For format 1 files, specify num as 1.
For format 2 files, specify num as 2.
The default value is 1.
file-name
the name of the file to be created.
If you specify only the volume name, a temporary file is created on the
specified volume. To retrieve this name, use the FILENAMEV option.
FILENAMEV variable-level
the name of an existing variable level into which the filename is to be returned.
The previous contents of the variable are lost if the file is created successfully.
The variable must not be in a shared segment and must not be a
DIRECTORY, a STRUCT, a SUBSTRUCT, or a STRUCT item.
Variable levels are defined in Section 4, Variables
.
PHYSICALVOLUME physical-volume
the physical volume on which a logical file is to be created. If no physical
volume is specified in file-name, the default volume name for the TACL
process in effect at the time of the request is used.
#CREATEFILE [ / option [ , option ] / ] file-name