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)?
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.