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 Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
This topic is locked: you cannot edit posts or make replies. ISREDIT Macro is not returning back t... nico_neoz CLIST & REXX 21 Sat Nov 18, 2017 7:40 pm
No new posts Split files upto certain limit based ... bubbu75 DFSORT/ICETOOL 5 Tue Nov 14, 2017 11:11 pm
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm
No new posts Finding difference between two PS fil... Vignesh Sid SYNCSORT 5 Mon Oct 30, 2017 1:13 pm

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