Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Selecting save versions from version backup archives

&pagelevel(6)&pagelevel

The selection criterion SELECT-SAVE-VERSION for a version backup archive has its own meaning in comparison to other types of archive.

The selection of file versions from version backup archives is performed according to the original SVID only. Thus only the option *BY-ORIGINAL-DATE can be specified when restoring from version backup archives. All other options are rejected. For version backup archives the selection criteria is “file-version”-oriented (not “save-version”-oriented).  

To restore the latest version of the file the SELECT-SAVE-VERSIONS operand should have the value *STD which is equal to SELECT-SAVE-VERSIONS=*BY-ATTRIBUTES(SAVE-VERSION-NAME=*ANY,SAVE-VERSION-DATE=*BY-ORIGINAL-DATE(CREATED-BEFORE=*LATEST-DATE,CREATED-AFTER=*EARLIEST-DATE)).    

The order of saved file versions is not guaranteed in a version backup archive. After a reorganization, the newest file version may be not in the newest save version (SVID).

If the restore of files with the latest original SVID is needed, the specification SAVE-VERSION-DATE = *BY-ORIGINAL-DATE (CREATED-BEFORE = *LATEST-DATE, CREATED-AFTER  = *SAME-AS-BEFORE) should be chosen. For this selection criteria HSMS determines the highest original SVID within the whole version backup archive and then choose only those files which have been originally saved within the save version.

All possible specifications of selecting the save versions in version backup archives with examples are described in the “HSMS Vol. 2” manual [1].