![HP G08 Reference Manual Download Page 73](http://html.mh-extra.com/html/hp/g08/g08_reference-manual_165059073.webp)
FUP Commands
File Utility Program (FUP) Reference Manual—523323-014
2-21
BUILDKEYRECORDS
BUILDKEYRECORDS
Generates the alternate-key records for specified key fields of a structured disk file and
writes those records to a designated file. This command applies only to Enscribe files.
Although the output of BUILDKEYRECORDS can be the actual destination alternate-
key file, it is more efficient to use a LOADALTFILE command to load alternate-keys.
You can use BUILDKEYRECORDS to generate the alternate-key records, store them
in another file, and then load them into the destination alternate-key file with a LOAD
command. This approach is useful when limited system resources prevent a
LOADALTFILE operation.
primary-filename
names an existing primary file whose alternate-key records are to be generated.
You must have previously defined alternate-key fields for the primary file. You
cannot use wild-card characters or specify
qualified-fileset
for
primary-filename
.
out-filename
names an existing file where the alternate-key records generated by this command
are to be written.
out-filename
can be an existing disk file, a nondisk device, a
process, a tape or SPOOLER (code 129) file, or a spool DEFINE name. You
cannot use wild-card characters or specify
qualified-fileset
for
out-filename
.
BUILDKEYRECORDS primary-filename , out-filename
, key-specifier-list [ , out-option ] ...
key-specifier-list
is:
key-specifier
( key-specifier [ , key-specifier ] )
out-option
is:
BLOCKOUT out-block-length
DENSITYOUT density
EBCDICOUT
PAD [ pad-character ]
RECOUT out-record-length
[ NO ] REWINDOUT
SKIPOUT num-eofs
TAPEMODE mode
[ NO ] UNLOADOUT
XLATE [ translation-table-name ]
XLATEIN [ translation-table-name ]
XLATEOUT [ translation-table-name ]