z/OS DFSMS OAM Planning, Installation, and Storage Administration Guide for Object Support
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Deleting recycled tape and optical volumes from OAM

z/OS DFSMS OAM Planning, Installation, and Storage Administration Guide for Object Support
SC23-6866-00

You can use the MOVEVOL command with the DELETE option to delete tape and optical volumes, and remove them from the OAM inventory. The rows that are associated with these volumes are deleted from the TAPEVOL or VOLUME table in DB2. OAM does not reclaim space on rewritable optical platters that have been deleted. If the deleted volume resides in an optical library, the volume is ejected. Then OAM issues message CBR2153I for deleted optical platters or message CBR2165I for deleted tape volumes.

You can also use the MOVEVOL command with the DELETE option to delete a scratch volume from the OAM inventory. When a MOVEVOL command is specified for a scratch volume and the DELETE option is specified, OAM issues CBR9883I to indicate MOVEVOL is processing a scratch volume. The volume is deleted from the OAM inventory without any data movement taking place.

For optical volumes, the MOVEVOL command with the DELETE option moves objects on both sides of the optical platter (both volumes). In contrast, the MOVEVOL command without any options moves objects on only one side of the optical platter (one volume).

The MOVEVOL command with the DELETE option overrides the SETOAM TAPERECYCLEMODE or SETOPT OPTICALREINITMODE options.

Releasing tape volumes using DFSMSrmm: If you are using DFSMSrmm as your tape management system, DFSMSrmm Tape Volume Exit (EDGTVEXT) is invoked after OAM issues the CBR2165I message for a rewritable tape volume, or the CBR2173I message issued for a WORM tape volume. For DFSMSrmm Tape Volume Exit (EDGTVEXT) to return the tape volume to MVS scratch status, the installation must use RACF commands to define the appropriate level of authorization for OAM. Determine the appropriate level of RACF authorization required for OAM to release its own tape volumes. Refer to Authorizing DFSMShsm to DFSMSrmm Resources in z/OS DFSMSrmm Implementation and Customization Guide for information about DFSMShsm authorization requirements, which can be used as a base for setting up OAM. Regardless whether the DFSMSrmm exit successfully returns the tape volume to the MVS scratch pool, the tape is deleted from the OAM inventory.

For more information about the DELETE option of the MOVEVOL command, see Moving objects and deleting the source volume. For more information about using DFSMSrmm to manage tape volumes, see z/OS DFSMSrmm Implementation and Customization Guide.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014