| IBM MAINFRAME HELP & SUPPORT FORUMS Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
|
| View previous topic :: View next topic |
| Author |
Message |
picus_mf
Joined: 09 Jun 2006
Posts: 18
|
| Posted: Fri Jul 04, 2008 3:32 pm Post subject: Roll back mass updation happened on table |
|
|
Hi,
One of the tables in our database has been effected with wrong updation. Our intention was to update some 5 records at once, but 24000 records out of 1 million records are updated due to lack of specific condition.
Is there any way other approaching DBA where we can roll back the update and bring back the records to its previous status?
Thanks in Advance.
Praveen. |
|
| Back to top |
|
enrico-sorichetti
Joined: 14 Mar 2007
Posts: 3032
Location: italy
|
| Posted: Fri Jul 04, 2008 3:43 pm Post subject: Reply to: Roll back mass updation happened on table |
|
|
Quote: Is there any way other approaching DBA where we can roll back the update and bring back the records to its previous status?
once a program has properly terminated, the changes have been committed and no roll backs are possible
You just incurred in a programming/analysis error and as such must be fixed by other means than standared Data Base utilities
... if there is an image copy available of the table before the_wrong_program_execution
You might ask support to reload it and operations to rerun all the jobs affecting the table in question
but You need to carefully coordinate everything |
|
| Back to top |
|
dick scherrer
Joined: 23 Nov 2006
Posts: 8589
Location: 221 B Baker St
|
| Posted: Sat Jul 05, 2008 12:03 am Post subject: |
|
|
Hello,
Problems with databases should be brought to the attention of the database support people - immediately.
The longer the delay the more invalid "answers" the system can provide.
It is one thing to make a mistake. It is a far worse thing to try to hide it. |
|
| Back to top |
|
picus_mf
Joined: 09 Jun 2006
Posts: 18
|
| Posted: Mon Jul 07, 2008 2:09 pm Post subject: |
|
|
Thanks for the replies.
The updation happened was on test data base. We wanted to know if there is any process that can be done to roll back the updations.
Any way...next course of action is taken.
Thanks once again. |
|
| Back to top |
|
dick scherrer
Joined: 23 Nov 2006
Posts: 8589
Location: 221 B Baker St
|
| Posted: Mon Jul 07, 2008 7:56 pm Post subject: |
|
|
Hello,
Quote: We wanted to know if there is any process that can be done to roll back the updations. There should be, but they will be controlled by the dba(s). |
|
| Back to top |
|
Craq Giegerich
Joined: 19 May 2007
Posts: 989
Location: Virginia, USA
|
| Posted: Mon Jul 07, 2008 8:38 pm Post subject: |
|
|
| You can do a recover to a point in time if there have been no updates since your mass updates but if there are foreign keys you will have to check these and if your mass update caused any cascading changes you would have to fix those also. It is best to ask the DBA for help. |
|
| Back to top |
|
| |
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
|