z/OS DFSMShsm Managing Your Own Data
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Examples of different ways to code the HBDELETE command

z/OS DFSMShsm Managing Your Own Data
SC23-6870-00

The examples below present different ways to code the HBDELETE command. The values are examples only. Do not interpret them as values you should use for your system.

Deleting all backup versions of a cataloged data set

In this example, you are issuing the HBDELETE command to delete all backup versions of the cataloged data set USER1.CMD.CLIST.
HBDELETE 'USER1.CMD.CLIST' ALL

Deleting specific backup versions of an uncataloged data set

In this example, you are issuing the HBDELETE command to delete only backup versions 2, 3, and 10 of the uncataloged data set userid.MATRIX.TEXT. DFSMShsm had backed up this data set from volume VOL001.
HBDELETE MATRIX.TEXT FROMVOLUME(VOL001) VERSIONS(2,3,10)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014