View previous topic :: View next topic
|
Author |
Message |
srinivas pendyala
New User
Joined: 17 Jan 2007 Posts: 4 Location: Mumbai
|
|
|
|
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 |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
How about executing the original code from a backed up lib?
And relax, we understand, bad deletes are always "UNINTENTIONAL"... |
|
Back to top |
|
|
cpuhawg
Active User
Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
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 |
|
|
srinivas pendyala
New User
Joined: 17 Jan 2007 Posts: 4 Location: Mumbai
|
|
|
|
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 |
|
|
|