Copy Optical (CPYOPT) command

Use the Copy Optical (CPYOPT) command to copy optical files and directories between optical volumes.

You can use CPYOPT command to copy any of the following:
  • All files and directories for an entire volume
  • All files and subdirectories for a directory
  • All files for a directory
  • A single file
The two optical volumes types are *PRIMARY and *BACKUP. *PRIMARY is the normal volume type, which can be written to by user applications. *BACKUP is a special volume type, which only can be written to by special optical commands. You can use CPYOPT to copy files between the following volume types:
From volume To volume
*PRIMARY *PRIMARY
*PRIMARY *BACKUP
*BACKUP *PRIMARY