db2 restart logic ?

Answer Posted / ankitha

declare temp table with fields pkey and commit frequency.
then set commit frequency ie after 100 records it should
tabulate the temp table and in procerdure division read the
last pk value and should start updating after that pk value
and should delete this temp tble after the final commit or
stop run.

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define predicate?

639


What happens in bind step in a db2 program?

561


What do you mean by cursor?

580


What is multi row fetch in db2?

599


What is node in db2?

604






Is db2 a database?

570


can all users have the privilage to use the sql statement select * (dml)?

636


How can we retrieve the total number of records in RPG & CLLE?

190


How is deadlock resolved?

648


What r the comman abends in db2, jcl and cobol???????

1812


I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.

1646


What is the clustering index in the db2 database?

580


What is a db2 cursor?

618


Which component is responsible for db2 startup and shutdown?

622


What is the purpose of using commit?

612