what happend with out using Commit,when closing cursor and
program?

Answer Posted / harish

yes, commit-it will save the changes that we done to db2
table

when operation is performed successfully table will be auto
committed its default,suppose if any abends occur all
changes will be rolled back , table will come to original
status

since while updating millions of records somewhere some
abend occurs that time its better to have commit ,so till
upto abend whatever changes occured in table will be
saved.....

pls let me know if u have any queries

HARISH POOMGAME SHIVAPPA
NIIT TECHNOLOGY
KOLKATA

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

1628


How do I start db2 in windows?

569


What is a db2 table?

597


Define data page.

636


How to rename a table in DB2 ?

643






What is clone table?

592


What are concurrency issues?

632


What do you mean by between and in? Is between inclusive of specified range values?

672


What is the physical storage length of date data type?

732


What are the various data types available in db2?

639


What is the information associated with sysibm.syslinks table?

660


Highlight all the advantages that are attached to a package.

633


What is dbrm in db2 database?

591


What kind of database is db2?

577


What is the maximum No of rows per page?

631