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 you stop a db2 database in linux?
Is db2 a programming language?
can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well
What is plan in cobol db2?
Is it possible to create an Instance in DB2 using DB2 Control Center ?
How to find the number of rows in a db2 table?
How does a cursor work?
If I have a view which is a join of two or more tables, can this view be updateable?
How do I add a column to an existing table in db2?
What are the 2 sqlcodes that are returned?
What is meant by explain?
What is dbrm? When it will be created?
What is a db2 collection?
How do you concatenate the firstname and lastname from emp table to give a complete name?
What is data manager?