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
Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?
How can you find out the # of rows updated after an update statement?
List out the data types available.
How do I import data from excel to db2?
What is the cobol picture clause of the db2 data types date, time, timestamp?
Name the various locking levels available?
What is the maximum size of varchar data type in db2?
Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference
Mention the length of physical storage of the given data types of db2 – date, timestamp, time
What are the contents of a dclmgen?
Define declaration generator (dclgen).
Why do we need reorg in db2?
What is db2 plan table?
What is copy pending and check pending in db2?
What is release/acquire in bind?