TACL Reference Manual
UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual—429513-018
8-44
CREATE Command
CREATE Command
Use the CREATE command to create an unstructured disk file. An unstructured disk
file can contain a data-record structure that the file system does not recognize, or it can
be made up of an array of bytes without data-record structure.
file-name
is the name of the file to be created. If no volume or subvolume is specified in
file-name, the current volume name and subvolume name in effect for the TACL
process at the time of the request are used.
parameter
can be any of these:
extent-size
is the size of the file extents that can be allocated to the file. Specify extent-
size as an integer in the range 1 to 65535 for the number of 2048-byte data
pages in each extent. The disk process can allocate up to 16 extents (if the
MAXEXTENTS file attribute has not been altered from its default of 16) to any
file you create with the CREATE command. The default value for extent-
size is 2.
PHYSICALVOLUME physical-volume
is the physical volume on which the logical file-name is to be created. If no
physical volume is specified in file-name, the default volume name in effect
for the TACL process at the time of the request is used.
If a logical volume is specified in file-name, the physical volume on which
the file is created is chosen by the system. The physical-volume parameter
overrides this selection
The PHYSICALVOLUME option should be used only if no physical volume is
specified in file-name. Otherwise, a file-system error is returned.
Considerations
•
The security of the file you create is the current default security at the time you
enter the command. See the DEFAULT Program on page 8-53 and VOLUME
Command on page 8-259 for information about changing default security.
•
You can change the security of a file with the FUP SECURE command. See the
File Utility Program (FUP) Reference Manual for a description of FUP SECURE.
•
FUP also has a CREATE command. When you create a file using the CREATE
command in TACL, the size of the first extent allocated (the primary extent) defines
CREATE file-name [ , parameter [ , parameter ] ]