Suppose we are doing transaction in a table and abend happened in
between. Suppose i have completed the transaction upto X rows and
I want to start the transaction again where the abend happened. I
don't want to do the transaction from the first record. Then what
i have to do.
Answer Posted / ignatius pradeep
We have a option called the BMC dedicated for this kind of
transaction errors. You can give a commit frequency too.
Example:
You have to insert 230 records into a table and your
transaction abends at 163 due to -803 or some error.
Now, If you define your BMC commit frequency to be 100, a
commit will be issued for every 100 records processed. So
in our example the first 100 records will be commited and a
checkpoint will be saved. When the transaction abends at
165 and you restart the job. The system will automatically
look at the last checkpoint and start processing from 101
record.
Let me know if i am wrong.
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is rebind in db2?
What is db2 instance?
Explain about open switch business continuity software?
what is utility for parm lib
What is a db2 cursor?
Which is faster delete or truncate?
What is db2 and what is the use of db2 optimizer?
What are the various isolation levels possible?
can we view the access paths created by dbrm ? how ? thx
What is a bind card?
How do I add a column to a table in db2?
How to retrieve rows from a db2 table in embedded sql?
What is check constraint. Explain with example.
What is a db2 schema?
i want to maintain uniqueness on pdf without make lf??????????