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

Is db2 a mainframe database?

575


What is blu acceleration in db2?

615


List out the three types of page locks that can be held.

693


What is isolation level in db2?

588


what is db2 restart?

1701






Where do you specify them?

690


What is the result of open cursor statement?

644


What is the role of schema in the db2 database?

665


Why do we need reorg in db2?

572


What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?

725


What does sqlcabc has?

635


Explain about rct.

659


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

650


What is the max length of sqlca?

777


What is coalesce in db2?

691