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 cobol db2?

0 Answers  


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

3 Answers  


I need to view the number of tables existing under one particular Owner. Is it possible? If so, pl give the SQL query for this?

2 Answers  


How do I import a csv file into db2?

0 Answers  


If I have a view which is a join of two or more tables, can this view be updateable?

0 Answers  






a cursor normally gets closed once we provide a commit . If u try to close the same cursor with close cursor command later after providing the commit will there be any sql-error.

3 Answers  


How will you delete duplicate records from a table?

7 Answers   Google,


What is the difference between Where and Having Clause

7 Answers   IBM, iFlex,


How is a typical db2 batch pgm executed?

0 Answers  


When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?

0 Answers   Broadridge,


What does reorg do in db2?

0 Answers  


what is + sign and -ve sign for sql code ?

1 Answers   TCS,


Categories