File Utility Programming (FUP) Reference Manual
FUP Commands
File Utility Program (FUP) Reference Manual—523323-015
2-74
DUP[LICATE] Examples
If you duplicate a Safeguard protected file, the new file is not Safeguard protected
unless volume or subvolume protection exists on the target subvolume. To restore
or set Safeguard protection, use the Safeguard command interpreter (SAFECOM).
Whenever you duplicate a Safeguard protected file (file-level protection), this
warning message appears:
WARNING - filename: NO SAFEGUARD PROTECTION
If you duplicate a Safeguard protected file with the SAVEID or SAVEALL option,
the owner of the old file (and the corresponding security of the file) is retained.
If you duplicate a Safeguard protected file without the SAVEID or SAVEALL option,
you become the new owner of the file (and its security is your default).
DUP command supports queue files. For example:
-DUP oldqueuefile, newqueuefile [EXT (pri-extent-size, sec-
extent-size)] [SAVEALL]
MAXEXTENTS cannot be increased by DUP. Use FUP ALTER to alter the
MAXEXTENTS of the file.
DUP[LICATE] Examples
To duplicate all the files in the current default subvolume (and in the MYSVOL
subvolume) and place copies of the files (using the same file names) in the
NEWSVOL subvolume:
-DUP (MYSVOL.*, *), NEWSVOL.*
To let the DUP operation on the source file (FILE1) be restarted if the initial DUP
operation does not complete successfully:
-DUP FILE1, FILE2, RESTARTABLE
If the initial DUP operation does not complete successfully, restart the previous
command:
-RESTART
To duplicate a file in a different volume and rename the first alternate-key file (file
0) of the destination file $VOL2.RECD.ALTFILE:
-DUP $VOL1.RECD.DATA, $VOL2.*.* , ALTFILE (0, $VOL2.RECD.&
-ALTFILE)
To duplicate a partitioned file in a different node and rename the secondary
partition of the destination file \TWO.$VOL2.SUB1.PARTFILE:
-DUP $VOL1.SUB1.PARTFILE, \TWO.$VOL1.*.*, &
-PART (1, \TWO.$VOL2)
When you duplicate a partitioned file (in a different node or volume), to duplicate a
secondary partition from a volume that does not exist on the destination node, you