View previous topic :: View next topic
|
Author |
Message |
xpower
New User
Joined: 07 May 2006 Posts: 35
|
|
|
|
Dear all,
I deleted a PDS named A.B.C.D by mistake. could you please tell me how to restore the deleted PDS A.B.C.D ?
Thanks ahead. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
1. Contact your site storage management group.
2. Contact your site storage management group.
3. Contact your site storage management group.
Get the idea yet?
IF your site is using HSM (or a similar package from another vendor), AND IF the data set is having HSM (or ?) backups done, AND IF there is an exisitng backup, then your site storage management group can restore the data set.
Otherwise, your site storage management group should have some form of backup for DR purposes of all data sets, which might be possibly used to retore the data set.
However, nobody on this forum can tell you witherr or not the preconditions exist since we don't work at your site. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Keep in mind that file management is quite different on the mainframe than on Win-based systems.
We don't have an Undelete function per se. . .
Suggest in the futute you make sure there are backups readily available for all of "your" datasets. Most systems already have this in place, but i'd suggest making sure you know where the backups are and how to use them (assuming you have permission to restore datasets). Depending on the dataset(s) and their use, co-ordinating with the storage management people as well as others who might also use the dataset would be advisable. |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Robert/Dick,
I am just trying to understand so only if backups are already in place HRECOVER could work is it? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Yes -- HRECOVER requires HSM to be installed, and operational, at the site -- and also that HSM is being used for that particular data set high level qualifier.
Many sites otherwise have some standard back ups that are done (either for recovery or DR purposes), but whether or not they are done and the product used to do them, and which data sets are covered, are all EXTREMELY site dependent.
Basically, on a mainframe not only is there NO undelete function, as Dick mentioned, but unless a backup mechanism is implemented (via HSM, or CA-ASM2, or FDR, or whatever) -- there are NO backups of data sets by default. |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Thanks Robert |
|
Back to top |
|
|
cmsmoon
New User
Joined: 17 Jun 2010 Posts: 75 Location: Chennai
|
|
|
|
you can try the command
TSO HRECOVER 'DATASET NAME'
Open your PDS after you should get the recovered messages |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
cmsmoon, your "solution" will work ONLY if HSM is installed and operational at that site, and for that data set name -- as my earlier posts indicated. YOUR site may have HSM running, in which case your "solution" would work, but not all sites use HSM and hence at those sites your "solution" would fail completely. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
cmsmoon - I wonder if you read the second post in this thread from Robert, before telling about HRECOVER, which clearly explains how and when it will work! |
|
Back to top |
|
|
cmsmoon
New User
Joined: 17 Jun 2010 Posts: 75 Location: Chennai
|
|
|
|
Sorry for this.....
How can we check HSM to be installed or not? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
It would be best to talk with your dasd storage management people. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
let's not forget that just because you can restore a dataset, it does not guarantee that no data has been lost.
The latest backup might not contain the changes that have occurred since the last back up and when the dataset was deleted.
Gerry |
|
Back to top |
|
|
|