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. Once 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)