
FUP Commands
File Utility Program (FUP) Reference Manual—523323-014
2-133
LOAD
KEY { record-spec | key-value }
specifies the primary-key value for the starting record of a disk file. FUP begins
reading the input file at the record you name with KEY.
Specify
record-spec
as an integer in the range 0 through
(512000000 * 2,048) -1.
Give the starting relative byte address for
record-spec
(for unstructured
files).
Give the starting record number for
record-spec
(for relative files).
Give
ordinal-record-num
for
record-spec
(for entry-sequenced
files).
Use
key-value
to indicate the approximate position of the starting record for
key-sequenced files. Specify
key-value
as either
string
or:
"[" { string } [ , string ] ... "]"
{ 0:255 } [ , 0:255 ]
You can specify a list of strings with each string enclosed by quotation
marks or integers representing byte values in the range 0 through 255. You
must enclose the list of strings and integers (if specified) in square
brackets.
For example, specify a key value as the ASCII string “T905”, followed by a
word containing the integer value zero, and a word containing the integer
value nine:
[ "T905", 0, 0, 0, 9 ]
key-specifier
is a one-character or two-character string (specified inside quotation marks)
specifying the alternate key to be used for positioning purposes.
ALTKEY key-value
specifies the alternate key of the starting record for disk files. FUP begins
reading the input file at the specified record. Specify
key-value
for key-
sequenced files according to the description of
key-value
in
KEY { record-
spec | key-value }
.
Note.
The brackets in
key-value
syntax are enclosed in quotation marks to
indicate that they are part of the parameter—and not to indicate that the
parameter is optional. Do not include the quotation marks when you type the
brackets.