
FUP Commands
File Utility Program (FUP) Reference Manual—523323-014
2-59
CREATE
CREATE
Creates a disk file with the current file-creation attributes defined by the SET
command. To override the current file-creation attributes defined by the SET command,
include
create-param
in the CREATE command.
filename
is the name of the file to be created. A partial file name is expanded using the
current default names for system, volume, and subvolume.
create-param
overrides the current file-creation attribute setting that corresponds to this creation.
The
create-param
used in a CREATE command does not change the file-
creation attributes defined by the SET command.
CREATE Guidelines
Extent size is rounded up at creation as necessary so it can hold an integral
number of blocks.
For files on disk drives in a disk drive enclosure, there are additional
considerations. See
EXT { extent-size } { ( pri-extent-size , sec-extent-size ) }
on
page 2-173.
During the file-creation process, DP2 rounds up the extent size (to 2 pages or
4,096 bytes) because the extent size of DP2 files must always be an integral
multiple of the BUFFERSIZE (for unstructured files) or of the BLOCK size (for
structured files).
To create an unstructured DP2 file with one-page extents, you must specify a
BUFFERSIZE of 2048 bytes with either the FUP SET or FUP CREATE command.
To take advantage of the REFRESH, DCOMPRESS, and ICOMPRESS options of
the CREATE command, you must create primary and alternate-key files separately.
The CREATE command passes these attributes to the primary file only when it is
created.
If you enter a CREATE, AUDIT command and the volume where the primary
partition, secondary partitions, or alternate-key files reside is not audited, file-
system error 80 (invalid operation on audited file or nonaudited disk volume) is
returned. If you create an alternate-key file with the NO UPDATE option (and the
key file is not on an audited volume), the error does not occur.
CREATE filename [ , create-param ] ...
Note.
For descriptions of the
create-param
options, see
SET
on page 2-171.