db2 restart logic ?



db2 restart logic ?..

Answer / 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

More DB2 Interview Questions

Which command is used to remove all rows from a table?

0 Answers  


What is the difference between a package and a plan?

6 Answers   Infosys, L&T, Mphasis,


in my project..TEST is db2 8.1 version In PROD it is 7.1 if i do REORG in TEST.. can I use the same REORG jcl with out modification in PROD region (this is DB2 8.1 )? if not, what modification i need to do in my REORG control card?

0 Answers  


Explain packages.

0 Answers  


Why select is not preferred in embedded sql programs?

0 Answers  






How to resolve the -305 error code in DB2? And also please let me know, how to resolve the db2 error codes.

7 Answers   TCS,


Is db2 a mainframe?

0 Answers  


Explain the use of the WHERE clause?

1 Answers  


What is an asychronous write?

1 Answers  


Why cursor is used in db2?

0 Answers  


What is a cursor and what is its function?

2 Answers  


What is lock contention?

1 Answers  


Categories