File Utility Programming (FUP) Reference Manual

FUP Commands
File Utility Program (FUP) Reference Manual523323-015
2-75
Commands Related to DUP[LICATE]
must include the PART option. To duplicate the secondary partitions, use these
commands (on separate command lines):
-DUP $VOL3.SUB1.PARTFILE, \TWO.$VOL2.*.*, PARTONLY
-ALTER \TWO.$VOL1.SUB1.PARTFILE, PART (1, \TWO.$VOL2)
The DUP command duplicates only the secondary partition of PARTFILE (to
$VOL2 on node \TWO) because the PARTONLY option is specified.
ALTER changes the primary partition for the file on \TWO to point to the secondary
partition that was duplicated using PARTONLY in the first command.
To duplicate all files on the current subvolume that end in FILE:
-DUP *FILE, NEWSVOL.*
To duplicate all the EDIT files (that begin with an S) from one subvolume to another
and purge any old copies (if they exist):
-DUP S* WHERE FILECODE=101, NEWSVOL.*, PURGE
To duplicate the files that have changed (since a specified date) in all the
subvolumes to a backup volume:
-DUP $MILK.*.* WHERE MODTIME>1JAN2001, $BACKUP.*.*
To duplicate a file, but specify a change to its primary and secondary extent sizes:
-DUP SPECIALK, SUGARPOP, EXT (8,4)
Commands Related to DUP[LICATE]
EXIT
Stops the current FUP process and returns to the command interpreter.
EXIT Guidelines
To run the EXIT command, you can enter E or EXIT.
Note. Qualifiers occur before the to-fileset specification.
Note. Qualifiers occur before the to-fileset specification.
COMMAND Function Page
COPY Creates a record-by-record copy of a file 2-38
LOAD Creates a structured file from scratch 2-136
RESTART Restarts an interrupted DUP[LICATE] operation 2-166
CONFIG[URE] Sets default options for the DUP[LICATE] process 2-28
E[XIT]