Can any one tell me about Restart logic in DB2.

Answers were Sorted based on User's Feedback



Can any one tell me about Restart logic in DB2...

Answer / girish kumar

suppose if we have 1000 rows for update, while we updating
incase if we get abend occures at 999 even a single record
could not be saved to database with out execute commit.
so that if we can place a commit for every 100 records
incase abend occres at 999 cursor start for 900 onwords by
issuing rollback along with commit.


this is db2 logic better to refer MUTTU REFRESHNER

Is This Answer Correct ?    1 Yes 0 No

Can any one tell me about Restart logic in DB2...

Answer / muneer

suppose if we have 1000 records while retriving data we got
abend at any stage we will use restart logic.this is the
basic idea of restart logic...

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More DB2 Interview Questions

What is the COBOL picture clause of the following DB2 data types: DATE, TIME, TIMESTAMP?

3 Answers  


In cobol+DB2program if the code of cobol program has changed than i have to do precompilation once again?

6 Answers   TCS,


Write a query to retrive partial string.

2 Answers  


When Can you be sure that a query will return only one row?

4 Answers   IBM,


Which components manage deadlocks in db2?

0 Answers  






When one binds a PACKAGE ( of a plan ) what package information is stored and where it is stored?

3 Answers  


What is the syntax for creating a table in the db2 database?

0 Answers  


What is the format (internal layout) of ?TIMESTAMP??

1 Answers  


What is a recovery log?

1 Answers  


what is difference between Static call and Dynamic call? How does it function?

1 Answers   Syntel,


What is the purpose of rollback and commit?

0 Answers  


Why db2 is called db2?

0 Answers  


Categories