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 Data security erase on RAID device steve-myers All Other Mainframe Topics 0 Sat Jan 13, 2018 6:41 am
No new posts reg query on DYNALLOC feature raghuraman123 SYNCSORT 12 Wed Jan 10, 2018 2:42 pm
No new posts Append the milliseconds to the data s... girishb2 DFSORT/ICETOOL 1 Thu Dec 21, 2017 9:07 pm
No new posts Conversion of DLI update Jobs as BMP ... Gopinath Shanmugam IMS DB/DC 3 Wed Dec 20, 2017 12:02 pm
No new posts Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm

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