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

Recover deleted dataset with no backup


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Haripriya R

New User


Joined: 27 Feb 2013
Posts: 1
Location: India

PostPosted: Thu Apr 18, 2013 8:24 pm
Reply with quote

Hi. I have the following query. I have a file A which is used in a job XYZ. I am into testing and not into prod environment , we usually do not receive the file A. So to run the job we create file A using the backup file. At the end of the job there is a step which deletes file A.

File A is sorted and copied into file B and C(VSAM file). At the end of job delete step is included to delete File A. So every time the job is run the file A is populated using the backup file(B).

But today i mistakenly executed the job with out copying from B to A. So the job threw JCL ERROR deleting even the file B. I tried to recover the file but there was no backup available to recover.

I would like to know if there is any chance to recover the file(A).
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Thu Apr 18, 2013 9:38 pm
Reply with quote

First, your job did not THROW a JCL error it FAILED with a JCL error.
Second, if you have no backup then, unless the month is full of Sundays then it is extremely unlikely that you can recover. But you mention a VSAM file - can you recover from that?
Third, we do not know your setup so we do not know what backups are taken so go and ask in your shop - colleagues, support etc
Fourth, this is not a TSO/ISPF problem but a storage management problem. Next time, please, have the patience and courtesy to find the correct area to post in.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Apr 18, 2013 10:25 pm
Reply with quote

Quote:
I would like to know if there is any chance to recover the file(A).



No, unless you take the harddisk to a specialized company to recover disk data.

The only thing you can do is to create JCL that will prevent deleting of important datasets.

Having said that, how can you explain that one of your skills is "JCL"
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: Thu Apr 18, 2013 11:36 pm
Reply with quote

Hello and welcome to the forums,

Most likely the data is gone. . .

You might consider including the copy in the job rather than having to remember to run the copy before running the job.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Apr 19, 2013 12:39 am
Reply with quote

Quote:
No, unless you take the harddisk to a specialized company to recover disk data.


not true any longer,

once upon a time WYSWWTDWS

now a logical 3390 might be split over gazillions of real disks in the array.

(*) WYSWWTDWS ==> What You Saw Was Where The Data Was Stored icon_cool.gif
Back to top
View user's profile Send private message
Dale Robertson

New User


Joined: 21 Jun 2013
Posts: 44
Location: U.S.A.

PostPosted: Wed Jul 10, 2013 6:24 pm
Reply with quote

i know this a bit late but couldn't you merely make a call to your friendly systems programmer and ask for the latest and greatest backup from the last full pack backup?

r

Attention to detail is always advised when it comes to JCL and unlike UNIX, MVS [z/OS] has very little sense of humor.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Jul 10, 2013 6:33 pm
Reply with quote

Yes, it is a bit late,

but a lot better than some of your previous replies icon_rolleyes.gif
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 -> TSO/ISPF

 


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