Save (SAV) command Support

SAV can be used to save HPOFS or Universal Disk Format (UDF) formatted volumes.

This function will not support the backup of a ISO9660 formatted media.

Select a volume or volumes to save. The SAV command prevents the implicit saving of all optical volume images in the QOPT file system when the OBJ parameter includes the entry ’/*’. The file system QOPT cannot be saved; however, volumes below the file system can be saved. If you want to save all volumes within the QOPT file system, ’/QOPT/*’ must be explicitly specified on the OBJ parameter. If all volumes are selected, be aware that this SAV operation could take a long time to complete depending on the number of volumes being saved. See the “Parameters” section for additional restrictions on the OBJ parameter.

In order to specify that a volume image is to be saved, you must specify a value of *STG on the SUBTREE parameter.

Saving an optical volume image to another optical volume is allowed; however, the target volume cannot be the opposite side of the saved volume.

The performance of SAV is comparable to DUPOPT, although it depends on the target device chosen.

Parameters

  • OBJ Specify a single or multiple path names. The path name cannot be extended beyond the volume level. Examples of invalid path names include, ’/QOPT/VOL/*’ or ’/QOPT/VOL/DIR/FILE’.
  • SUBTREE Must be *STG when saving optical volume images.
  • CHGPRIOD Start Date, Start time, End Date and End time must all be *ALL.
  • UPDHST Must be *NO.
  • SAVACT Parameter is ignored when attempting to save optical volume images.
  • PRECHK Must be *NO.
  • TGTRLS Value cannot precede V5R2M0. Refer to the CL topic in the Programming category in the Information Center for a further explanation of parameter values and their meaning.

Refer to the CL topic in the Programming category in the Information Center for a further explanation of parameter values and their meaning.

Examples

  • Save all volumes within the QOPT file system to a save file.

    SAV DEV(’/qsys.lib/xyz.lib/xzysavfile.file’) OBJ((’/qopt/*’)) SUBTREE(*STG)

  • Save all volumes beginning with vola and volb to a save file.

    SAV DEV(’/qsys.lib/xyz.lib/xzysavfile.file’) OBJ((’qopt/vola*’) (’/qopt/volb*’)) SUBTREE(*STG)

  • Save one volume vol1 to a tape device.

    SAV DEV(’/qsys.lib/tap01.devd’) OBJ((’/qopt/vol1’)) SUBTREE(*STG)