In either case, DFSMShsm cannot determine how to expire the cataloged backup version(s) that may exist for the data set; no such versions are expired.
The EXPIREBV command continues with any backup versions identified as uncataloged.
After the EXPIREBV command completes, determine the contents of the active configuration. If there are many such messages, it may be that the wrong configuration was activated.
If data set dsname is DELETED, it may be that mgtclassname was deleted from the SMS configuration after dsname was backed up, then deleted. The management class can be redefined, at least temporarily, to delete the backup versions using the EXPIREBV command; or you can use the BDELETE command to delete specific versions.
DFSMShsm