The EXPIREBV command allows you to delete all
expired backup versions from all of your backup volumes. You can also
delete the backup versions of specific data sets. The specified backup
versions will be deleted even if their RETAINDAYS value has not been
met. You can delete either specific versions or all versions of the
data sets. Use the following commands to delete backup versions:
BDELETE (ddsname...) ALL
BDELETE (ddsname...) -
VERSIONS(backup_version_number)
BDELETE (ddsname...) -
DATE(date) TIME(time)
HBDELETE (ddsname...) ALL
HBDELETE (ddsname...) -
VERSIONS(backup_version_number)
HBDELETE (ddsname...) -
DATE(date) TIME(time)
where:
- date
- is the date when the backup version was created.
- time
- is the time when the backup version was created.
DFSMShsm-authorized users can issue the first two commands. Any
user can issue the second two commands.
The first form of the commands deletes all backup versions of the
data set. The second form of the commands deletes only those backup
versions of the data set for which you specify the version number.
The last backup date field of the catalog entry is altered to a
null value when all of the following apply:
- No backup versions exist
- The data set is currently cataloged
- The data set is SMS-managed
- The data set is not migrated