Example: Copying to optical type *BACKUP volue
This example shows the system that backs up the primary volume VOL01 to the backup volume BKP-VOL01.
This will copy all the files in all the subdirectories. After the system
writes to volume BKP-VOL01, the system will use the volume in one of the following
ways:
- For further backups of volume VOL01
- For converting from backup volume BKP-VOL to *PRIMARY volume VOL01.
CPYOPT FROMVOL(VOL01) FROMPATH(/) TOVOL(’BKP-VOL01’ +
*BACKUP) SLTFILE(*ALL) CPYSUBDIR(*YES)