IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Help Need to recover VSAM Data.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ramfrom84

New User


Joined: 23 Aug 2006
Posts: 93
Location: chennai

PostPosted: Mon Apr 13, 2009 4:20 pm
Reply with quote

Hi,
While editing the online vsam file using Insync tool thru edit mode, I have delete some of the records which was not to be deleted.

Can yuo please some one tell , how to recover the original dataset since it is online file it does not have back up.

I verified all the jobs which using this vsam file.

Please let me know , any method to recover the VSAM Dataset.

Thanks
Ram
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Apr 13, 2009 4:33 pm
Reply with quote

since
Quote:
it does not have back up.

i would check with the Insync Tool (weapon?) documentation and see if there is any logging, edit session recovery datasets?

If not, you have just learned an important lesson:
always create a back-up before 'EDITing' a file or turn-on any available recovery processing.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Apr 13, 2009 4:54 pm
Reply with quote

I'm not a Insync tool user, but if you "cancel" the edit session and "come out" ...won't it save you?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Apr 14, 2009 3:15 am
Reply with quote

Hello,

Quote:
since it is online file it does not have back up.
Sorry, but that is nonsense. . .

Every file that might ever be of any value should have regular backups. In fact there have been several managers/directors/vp's/etc that have been fired for failing to maintain adequate backups.

This is not an Insync issue, but rather a management issue. "Anyone" with write access can corrupt or destroy updatable files. It is completly irresponsible for there to be no backups.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Apr 14, 2009 3:22 am
Reply with quote

Have you checked with your site support group to see if they have backups that they maintain? If not, there's no way to recover deleted data once your session is ended (and possibly not after the enter key is hit -- I don't know how this Insync tool works). Before editing any file you need to verify the backup exists and is current and valid -- because there's always a chance it will be needed when you directly edit the file.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Apr 14, 2009 11:02 am
Reply with quote

Quote:
Before editing any file you need to verify the backup exists and is current and valid -- because there's always a chance it will be needed when you directly edit the fiel.
Having said that I wonder if this was about a "production file" . . . icon_confused.gif
Quote:
While editing the online vsam file
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Apr 14, 2009 3:07 pm
Reply with quote

If it's a production file, the situation is even worse ... lack of backup of production files is a sign of a site with serious problems.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top