View previous topic :: View next topic
|
Author |
Message |
Haripriya R
New User
Joined: 27 Feb 2013 Posts: 1 Location: India
|
|
|
|
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 |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
Back to top |
|
|
Dale Robertson
New User
Joined: 21 Jun 2013 Posts: 44 Location: U.S.A.
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Yes, it is a bit late,
but a lot better than some of your previous replies |
|
Back to top |
|
|
|