Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Deleting archive definitions

&pagelevel(4)&pagelevel

The HSMS administrator or the archive owner can delete archive definitions using the HSMS statement DELETE-ARCHIVE. Note, however, that this only deletes the archive definition from the HSMS control file.
Archive definitions cannot be deleted until there are no more outstanding requests for the archive in the request file.

With DELETE-ARCHIVE the following functions are also available:

  • Separating the shadow archive: The connection between an archive and the associated shadow archive is canceled and the shadow archive is turned into a backup or long-term archive. The attributes of the archive originally assigned are taken over for the new archive.

  • Replacing the archive directory: The definition of the shadow archive is deleted and the archive directory of the shadow archive is taken over for the assigned backup or long-term archive. The original archive directory is retained without any link to an archive.

DELETE-ARCHIVE deletes neither the archive directory nor the files managed in this directory. The archive directory can be deleted using the BS2000 command DELETE-FILE.

Restoring an inadvertently deleted archive definition

The attributes of an archive are also stored in the archive directory. If the archive definition has been inadvertently deleted the archive can be restored from the archive directory using the CREATE-ARCHIVE statement:

//CREATE-ARCHIVE ARCHIVE-NAME=...,
   DIRECTORY-NAME=<directory>(NEW-DIRECTORY=*NO(RECONSTRUCT-ARCHIVE=*YES))