
FUP Commands
File Utility Program (FUP) Reference Manual—523323-014
2-136
LOAD Guidelines
The FUP LOAD command reads the source file directly using large buffers unless
you specify SHARE, in which case the Enscribe file system performs the reads.
You can use a SORT DEFINE with the LOAD command. You must define it before
starting FUP. For more information, see the
FastSort Manual
.
For key-sequenced files, you can specify the percentage of slack space you want
to keep for future insertions.
If you specify the PARTOF option when loading a file that is not partitioned, you
receive one of these error messages:
File-system error 11 (file not in directory) if the primary partition specified with
PARTOF does not exist
The message BAD PARTITION PARAMETERS if the primary partition
specified with PARTOF is not a partitioned file—or is not a partition of the file
being loaded
Before you load partitioned files, consider these restrictions:
The range of keys for the different partitions is stored in the primary partition of
a partitioned file.
If you try to load a secondary partition but you did not specify the PARTOF
option, you receive an error message.
The FUP process loads all partitions if you do not specify PARTOF, and
destination-filename
is the primary partition.
To load a secondary partition, specify the name of the secondary partition as
destination-filename,
and specify the name of the volume where the
primary partition resides (for the PARTOF option).
To load only the primary partition, specify the name of the primary partition as
destination-filename
, and specify the name of the primary volume for
the PARTOF option.
To sort the
in-filename
records, you must have both disk space for the sort
scratch file and for
destination-filename
during the sorting phase.
Use the PAD and TRIM options carefully in a FUP LOAD or COPY operation.
An example of this situation occurs if you pad each record in a data file with zeros
to a standard size in bytes and then store the records in another file. If you trim the
trailing zeros when you execute a FUP LOAD or COPY of the stored records, any
original data that ends with a zero is trimmed. To avoid this problem, use a value
for
pad-character
or
trim-character
that is not contained in your data.
Note.
For more information about error messages, see
Section 3, FUP Messages
.
Caution.
If your data contains
trim-character
or
pad-character
, data might be altered
or lost.