EasyManuals Logo
Home>HP>Software>T6553 D45

HP T6553 D45 User Manual

HP T6553 D45
326 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #113 background imageLoading...
Page #113 background image
FUP Commands
File Utility Program (FUP) Reference Manual—523323-014
2-61
CREATE Examples
ï‚·
If you include create-param in the CREATE command, the values you specify
override the current file-creation attributes. (For more information, see SET on
page 2-171.) To override the current attributes and create a relative file with a
record length of 10, define an alternate key on the first five bytes of the record and
have the alternate key reside in the alternate-key file SECFILE:
-CREATE MYFILE, TYPE R, REC 10, ALTKEY ("AA", FILE 0, &
-KEYLEN 5) , ALTFILE (0, SECFILE)
ï‚·
To create a partitioned alternate key-sequenced file from the existing alternate key-
sequenced file, add a partition to the existing file:
1. Ensure the file is closed:
-LISTOPENS FILE
2. Set file-creation attributes to match those of the existing file:
-SET LIKE $VOLnn.Subvol.first-alternate-keyfile
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)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP T6553 D45 and is the answer not in the manual?

HP T6553 D45 Specifications

General IconGeneral
BrandHP
ModelT6553 D45
CategorySoftware
LanguageEnglish

Related product manuals