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


Please Help Members By Posting Answers For Below Questions

What is reorg?

610


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

1792


Is db2 a database?

564


What is ibm db2 used for?

596


What is db2?

733






What is check constraint in db2?

595


what is the role of the cursor in db2?

632


What is the role of data manager in the db2 database?

631


What is dbrm?

632


What is package in cobol db2?

693


Mention the definition of cobol in varchar field.

679


How do I add a column to an existing table in db2?

578


What is consistency token in db2?

626


How do we specify index to include or not during bind process.

1667


What is bind package and plan in db2?

587