what is commit & rollback? When and where is used while
compiling a cobol-db2 program?
Answer Posted / karthikeyan
Commit:After end of the every permanent Transaction we used
commit.This is most probably used used for record tracking
purpose in the issue log.
Rollback:If any error occur during ur transaction (ex: any
data error) ur procedure will autoimatically call the
rollback procedure and it rollback all the stored record
from the table.u want to use the save point concept while
using the rollback.
Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
How do I delete a table in db2?
Is db2 a database?
In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?
What is deadlock in db2?
What is the difference between cursor stability and repeatable read isolation levels?
What are db2 objects?
What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?
What is load replace in db2?
What is a collection in db2?
When reorg is used?
What is db2 look?
What is check constraint in db2?
What is ibm db2 connect?
What is sqlca?
What is the use of reorg in db2?