Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 replication from multiple Db2 ta... kishpra DB2 1 Mon Mar 27, 2017 9:58 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us