File Utility Programming (FUP) Reference Manual
FUP Commands
File Utility Program (FUP) Reference Manual—523323-015
2-70
DUP[LICATE]
KEEP
does not duplicate any files that exist in both to-fileset and 
from-fileset-list. If a file specified in to-fileset already exists, the 
corresponding file in from-fileset-list is not duplicated. FUP lists the names 
of the files that are not duplicated. Checking is by name only. No file attributes are 
checked.
FUP uses only one of these options: KEEP, NEW, OLD, or PURGE. If more than 
one is specified, FUP uses the last one specified.
NEW
specifies that no file in to-fileset exists. For each file in 
from-fileset-list, FUP creates a new file with characteristics identical to the 
corresponding input file. The default mode is NEW.
FUP uses only one of these options: KEEP, NEW, OLD, or PURGE. If more than 
one is specified, FUP uses the last one specified.
OLD
specifies that each file in to-fileset must already exist. The characteristics of 
each file in to-fileset must match the characteristics of the corresponding file 
in from-fileset-list in these areas (if applicable): file type, record size, data-
block size, data and index compression mode, and key length and key offset.
The extent size of the files in to-fileset might differ. The files you specify for 
to-fileset must be large enough to contain the from-fileset data. Existing 
data in to-fileset is overwritten.
FUP uses only one of these options: KEEP, NEW, OLD, or PURGE. If more than 
one is specified, FUP uses the last one specified.
PURGE
purges any existing file in to-fileset that has the same name as a file in the 
from-fileset. If a file currently exists with the same name as a destination file, 
FUP purges the current contents of the file. FUP creates a new file, with identical 
characteristics, for each file in the from-fileset-list.
FUP uses only one of these options: KEEP, NEW, OLD, or PURGE. If more than 
one is specified, FUP uses the last one specified.
PARTONLY
specifies that if from-fileset-list defines any primary or secondary partitions 
of a partitioned file, only those partitions (and any nonpartitioned files) are to be 
duplicated. Entire partitioned files are not duplicated.
Secondary partitions defined by from-fileset-list are not duplicated unless 
you specify PARTONLY.










