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
 
how to retrive data after we have commited the update query.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
trgk03

New User


Joined: 20 Jan 2006
Posts: 12
Location: kochi

PostPosted: Tue Jul 18, 2006 11:14 am    Post subject: how to retrive data after we have commited the update query.
Reply with quote

hi everybody,
one of my friend has by mistake updated the production data(a table) through a update query and commited.
the table has no backups.
can anybody suggest any method by which it can be retrieved back to its original state?
thanks in advance.
Back to top
View user's profile Send private message

Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Tue Jul 18, 2006 11:47 am    Post subject: Hi
Reply with quote

Trk,
In most shops after daily batch jobs when get over would be having a job scheduled for taking Image copy of teh table for backing up the table data.Check that.If its there you can build the table with the latest image copy..Get in touch with DBA for this.

Its always better to take an unload of table when venbturing in to this..

-Han.
Back to top
View user's profile Send private message
Gautam512

Active User


Joined: 05 Oct 2005
Posts: 309
Location: Vizag / US

PostPosted: Wed Jul 19, 2006 3:05 am    Post subject: Re: how to retrive data after we have commited the update qu
Reply with quote

hi,

if ur friend has access to update the table, then he might have access to delete that particular data. Check for keys and make ur record a unique one and delete.
Back to top
View user's profile Send private message
ravi17s
Warnings : 1

New User


Joined: 15 Aug 2003
Posts: 57

PostPosted: Wed Jul 19, 2006 5:21 pm    Post subject: Re: how to retrive data after we have commited the update qu
Reply with quote

Its an Call for DBA!
Yes it is possible to recover by applying the LOG.

Please contact your DBA' soon.Sooner u inform them its easier to recover.


Thanks,
Ravi.
Back to top
View user's profile Send private message
neelesht

New User


Joined: 24 Jul 2006
Posts: 99
Location: Los Angeles

PostPosted: Tue Jul 25, 2006 10:12 pm    Post subject:
Reply with quote

Image copy is the best option.......In most of the shops it is must and DBA's do that.

Just try it.
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts HEX value search in a DB2 query maxsubrat DB2 2 Wed Oct 04, 2017 3:04 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am

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