When the directory has been saved, it can be restored from save file on tape, Net-Storage, or private or public disk in the event of an emergency (if it no longer exists or is not readable). To do this you use the IMPORT-FILES statement with *DIRECTORY and SAVE-FILE specified: Here, it is necessary to differentiate between the following cases:
The save file is located on public disk or it was created in HSMS V10.0A or higher in *HSMS-V10-COMPATIBLE mode on Net-Storage.
In these cases SAVE-FILE=*BY-PUBLIC-DISK must be specified with the pubset ID and SVID://IMPORT-FILES FILE-NAMES=*DIRECTORY, SAVE-FILE=*BY-PUBLIC-DISK- // (SAVE-FILE-ID = S.yymmdd.hhmmss, PUBSET-ID = <cat-id>)
The save file is located on tape or private disk or it was created in HSMS V9.0B or in HSMS V10.0A or higher in *HSMS-V9-COMPATIBLE mode on Net-Storage.
In this case SAVE-FILE=*BY-VOLUME must be specified.//IMPORT-FILES FILE-NAMES=*DIRECTORY, SAVE-FILE=*BY-VOLUME( (SAVE-FILE-ID=S.yymmdd.hhmmss, VOLUMES=<vsn 1..6>, DEVICE-TYPE=<c-string 1..8>)
Save files on tape have a several SVID structure. In this case you need to specify an SVID, and in any other case the SFID. The SFID, SVID and volume or pubset are noted in the report on the backup.