Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Recover deleted dataset with no backup

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Recover deleted dataset with no backup
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: 1712
Location: UK

PostPosted: Thu Apr 18, 2013 9:38 pm    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu Apr 18, 2013 10:25 pm    Post subject:
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

Site Director


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

PostPosted: Thu Apr 18, 2013 11:36 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri Apr 19, 2013 12:39 am    Post subject: Reply to: Recover deleted dataset with no backup
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    Post subject: a bit late
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: 8593
Location: Back in jolly old England

PostPosted: Wed Jul 10, 2013 6:33 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts IMS Database backup info ashek15 IMS DB/DC 14 Wed Nov 16, 2016 5:29 am
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us