File Utility Programming (FUP) Reference Manual
FUP Commands
File Utility Program (FUP) Reference Manual—523323-015
2-64
CREATE Examples
3. Add the partitioning specifics:
-SET PART (1,$VOLnn, primary EXT, secondary EXT, "PR
altkeyvalue1"
-SET PART (2,$VOLnn, primary EXT, secondary EXT, "PR
altkeyvalue2"
4. Purge the existing alternate key file:
-PURGE $VOLnn.Subvol.first-alternate-keyfile
5. Create the new partitioned alternate key file:
-CREATE $VOLnn.Subvol.partitioned-alternate-keyfile
6. Load the newly created partitioned alternate key file:
-LOADALTFILE 0,$VOL.Subvol.filename, loadaltfile-command-
options
7. Restore file-creation attributes to their default settings:
-RESET
8. For each alternate key file you want to partition, repeat Steps 2 through 7.
To create a partitioned alternate key file that is not key-sequenced from an existing
alternate key file, use the ALTER command:
-ALTER filename,PART ( sec-partition-num , [\ node.]$ volume[
, pri-extent-size [ , sec-extent-size ] ] )
To create a partitioned alternate key-sequenced file from scratch, use the SET:
> FUP
-set type k
-set code 1001
-set ext (32,8)
-set rec 54
-set block 4096
-set keylen 2
-set altkey ("LO",keyoff 42,keylen 4)
-set altkey ("VN",keyoff 46,keylen 8)
-set altfile (0,invalt)
-set part (1,$ade001,5,5)
-create inv
CREATED - $STORE1.SVOL1.INV
CREATED - $STORE1.SVOL1.INVALT