
FUP Commands
File Utility Program (FUP) Reference Manual—523323-014
2-60
CREATE Examples
If FUP terminates because an error occurs while CREATE is automatically creating
alternate-key files, the primary-key file and any alternate-key files already created
are not deleted. You must purge these files manually.
CREATE cannot create SQL files that are not SQL object files. You must use
SQLCI CREATE instead.
To override the default SMF assignment on a CREATE command of a file on a
logical volume, use the CREATE command with the PHYSVOL option.
All partitions of a file are created with the same format version. For files that are
not sequenced, an independently created partition must have the same format as
all other partitions of the file.
For an enhanced key-sequenced file, the SET PART command accepts a non-zero
partial-key-value
for the first secondary partition. However, a subsequent
CREATE command by the user fails and the error FEINVKEY is returned.
CREATE Examples
To create a non-partitioned unstructured file on a disk drive in a disk drive
enclosure:
-SET TYPE U
-SET EXT (2,20)
-SET REC 80
-CREATE TEST
To create a partitioned unstructured file where one or more partitions reside on a
disk drive in a disk drive enclosure.
-SET TYPE U
-SET EXT (14,42)
-SET REC 80
-SET PART (1,$FIBRE,14,42)
-CREATE TESTPART
To create a key-sequenced file named MYFILE in the current default volume and
subvolume with the file-creation attributes that are specified by the SET
commands:
-SET TYPE K
-SET REC 80
-SET KEYLEN 8
-CREATE MYFILE
Note.
DP will round the extent sizes up to multiples of 14 so the actual extent information
will be ext (14,28), not ext (2,20) as specified.
Note.
DP2 requires that the
pri-extent-size
and
sec-extent-size
of partitioned
unstructured files explicitly be multiples of 14.