Having deleted a Datastore by using the "D -Delete Datastore" command, what would be the process to recover that Datastore?
Release : 20.0
The Datastore files have this naming format
high-level.DSTOR02.DTR0001.ssid
high-level.DSTOR02.DTR0002.ssid
high-level.DSTOR02.DTRW002.ssid
high-level.DSTOR02.DTR0003.ssid
1)
Rename the HSM restored Datasets of the Datastore to
high-level.DSTOR02.DTR0001.ssid.NEW
high-level.DSTOR02.DTR0002.ssid.NEW
high-level.DSTOR02.DTRW002.ssid.NEW
high-level.DSTOR02.DTR0003.ssid.NEW
2)
Create a New Datastore in Detector called
DSTOR02 the name of the deleted Datastore
so getting these Datasets created
high-level.DSTOR02.DTR0001.ssid
high-level.DSTOR02.DTR0002.ssid
high-level.DSTOR02.DTRW002.ssid
high-level.DSTOR02.DTR0003.ssid
3) Rename the newly create Datastore Vsam files
high-level.DSTOR02.DTR0001.ssid.OLD
high-level.DSTOR02.DTR0002.ssid.OLD
high-level.DSTOR02.DTRW002.ssid.OLD
high-level.DSTOR02.DTR0003.ssid.OLD
4) Rename the HSM restored files
high-level.DSTOR02.DTR0001.ssid.NEW
high-level.DSTOR02.DTR0002.ssid.NEW
high-level.DSTOR02.DTRW002.ssid.NEW
high-level.DSTOR02.DTR0003.ssid.NEW
to
high-level.DSTOR02.DTR0001.ssid
high-level.DSTOR02.DTR0002.ssid
high-level.DSTOR02.DTRW002.ssid
high-level.DSTOR02.DTR0003.ssid
So they match the Datastore name in Detector
5) Restored Datastore should be viewable in Dector under name
DSTOR02