Page 1 of 1

Bring back the earlier version of dataset.

Posted: Tue Jan 05, 2016 11:44 am
by Prijot Singh
Hi,

Do we have some TSO command which can help to bring back earlier 'image' of a dataset. One of my junior team member has changed the values in this dataset for testing. Now it looses all the necessary testing conditions. One option is to create all of them again or keep back ups in future. But then some times those back are just left and lie around for long. But those are future cautions, as of now I am thnking if there is a TSO command retrieve the prior-self of the dataset? Or there is something else which can be done?

Re: Bring back the earlier version of dataset.

Posted: Tue Jan 05, 2016 1:06 pm
by Akatsukami
It depends; what, if any, backups are being run?

Re: Bring back the earlier version of dataset.

Posted: Tue Jan 05, 2016 3:49 pm
by nicc
Well, as you have no backups and you want to use a "TSO command" you will have to direct those commands to the "MAJIK" environment. Have you referered to the TSO commands manual? Or did you mean an ISPF command?

Re: Bring back the earlier version of dataset.

Posted: Tue Jan 05, 2016 6:23 pm
by Robert Sample
Consult your site support group. They may -- or may not -- have a backup of your data set. However, the mainframe is not magic -- if you want to be able to restore to a previous version of a data set, YOU have to create a backup of that version to be able to restore to. If the back up is out there for months -- or years -- so what? When you need it, you need it -- period. Hopefully you are learning a valuable lesson from all this.

Re: Bring back the earlier version of dataset.

Posted: Thu Jan 07, 2016 9:24 am
by mmcrew
Try the TSO command HRECOVER. For options, try 'HELP HRECOVER', or 'TSO HELP RECOVER'.

Re: Bring back the earlier version of dataset.

Posted: Thu Jan 07, 2016 6:27 pm
by Robert Sample
mmcrew, if the site is not running HSM, the HRECOVER command won't do anything.

Re: Bring back the earlier version of dataset.

Posted: Fri Jan 08, 2016 1:07 pm
by enrico-sorichetti
Do we have some TSO command which can help to bring back earlier 'image' of a dataset.
all depends on the products available in Your system

time to ask Your support.