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:
> CPYOPT FROMVOL(VOL01) FROMPATH(/) TOVOL(’BKP-VOL01’ *BACKUP) SLTFILE(*ALL) CPYSUBDIR(*YES)