IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Recovery of dataset Once the dataset is deleted


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
deepak.kec

New User


Joined: 26 Feb 2007
Posts: 71
Location: bangalore

PostPosted: Mon Apr 02, 2007 6:11 pm
Reply with quote

Once the dataset is deleted --- Can they be recovered again? How?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Apr 02, 2007 6:34 pm
Reply with quote

Only if a backup exists.

The recovery method is dependant entirely on the backup method used.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Apr 02, 2007 9:20 pm
Reply with quote

Hello,

If you talk with your sdtorage management people, they can tell yo if there is a backup and how to retrieve it.
Back to top
View user's profile Send private message
Ranjanapai

New User


Joined: 21 Mar 2007
Posts: 3
Location: India

PostPosted: Tue Apr 03, 2007 3:23 pm
Reply with quote

Try giving HRECOVER command followed by th data set name in ispf screen. if the back up is not available, the recovery process will b failed. this command works if u try this immediately with in a day after deleting the dataset.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Apr 03, 2007 7:39 pm
Reply with quote

Hello,

This works only if the file has been backed up. . . The best hope is that the file was created long enough ago that it made it to the volume backups (if the site does volume backups).

The amount of time since deletion will not make a difference.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Apr 03, 2007 7:55 pm
Reply with quote

The volume dumps can be funny little critters ...... if they are specifically offsite dumps, then they are usually defined as not eligible for dataset restore. If the dataset is on one of these dump volumes and the dump was processed by HSM with DFdss specified as the default datamover, then you could feed the dump volume(s) into a DFdss job to recover it. You might have to get the tapes brought back onsite first though.

Quote:
The amount of time since deletion will not make a difference.

That depends on how frequently the storage people process the EXPIREBV function of HSM, or if your shop uses another ILM software how the backup retention is defined.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Apr 03, 2007 8:34 pm
Reply with quote

Hello,

My bad - the intended point was that a recent deletion is not related to recurring backups (actually what i might also have added was that if the file was new, and had not yet been backed up, there may be no way to get it back).

As far as restore eligible, i've not yet had a dataset that was on backup media that could not be gotten back - might take a bit of work, but was always retrievable.

Indeed, would a backup that could not be recovered be a write-only file?

As a complete aside, i was in a meeting once where several (senior corporate manager) folks voiced their concern that a particular bit of data was extremely needing of protection. A good friend suggested that it be put in a write-only file that could not be re-read. A few of the "big suits" took the bait and the meeting degraded from there when realization struck that they'd been had. . . icon_smile.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Apr 04, 2007 12:51 pm
Reply with quote

Quote:
As far as restore eligible, i've not yet had a dataset that was on backup media that could not be gotten back - might take a bit of work, but was always retrievable.

Yes, that was the point I was making. The reason that offsite dump volumes are marked as not eligible for dataset restore is that otherwise HSM would attempt to use them if a dataset restore was required for a dataset on those dump volumes.

Of course the easiest way would be for the tapes to be brought back onsite, the storage people change the dump class definition to eligable and then run the restore.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top