Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Recovering the original files back after a base run

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
srinivas pendyala

New User


Joined: 17 Jan 2007
Posts: 4
Location: Mumbai

PostPosted: Fri Feb 02, 2007 7:38 pm    Post subject: Recovering the original files back after a base run
Reply with quote

Hi all,
I have some code which has undergine some change.Before the actual changes,a base run was made and the files stored. However these are deleted(UNINTENTIONALLY) and the new code run.
Is there any way of getting the original files back(without reverting the code changes and running the program again)?
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Feb 02, 2007 7:56 pm    Post subject:
Reply with quote

How about executing the original code from a backed up lib?
And relax, we understand, bad deletes icon_eek.gif are always "UNINTENTIONAL"... icon_rolleyes.gif
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Fri Feb 02, 2007 8:05 pm    Post subject: Re: Urgent-Recovering Deleted Files
Reply with quote

You can recover deleted datasets only if the datasets were dumped prior to their deletion. When a dataset is deleted on disk, the dataset name is removed from the catalogue, but the data still resides on disk but can be written over at any point by another dataset needing space. Once written over, the data is lost.

If you have written your dataset to tape and have uncatalogued the tape, the tape returns to scratch status. If you can get to the tape before it is written over, you can recover the dataset.

If your original code is in a member of a PDS and you have saved new code on top of that member, you can recover deleted PDS members as long as you haven't compressed the PDS:

Restoring a Deleted Member of a PDS
In 3.4, access the dataset and enter either of the following commands next to it.
PDS / RES TTT FIND(?info inside the lost member?) REPEAT NOPROMPT
PDS / RES TTT FIND(?????) REPEAT NOPROMPT
Members will be restored in the PDS with TTT00001, TTT00002, etc.
Back to top
View user's profile Send private message
srinivas pendyala

New User


Joined: 17 Jan 2007
Posts: 4
Location: Mumbai

PostPosted: Fri Feb 02, 2007 8:12 pm    Post subject: Re: Recovering Deleted Files
Reply with quote

Thank you and sorry for labelling the bad deletes.
Since I am using Endevor I am told to select and generate the older version.That may not take long time as expected.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 21 Sun Aug 27, 2017 10:35 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am
No new posts retrieving envelope information out o... VintageReceiver TSO/ISPF 6 Thu Aug 10, 2017 8:13 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us