what is commit & rollback? When and where is used while
compiling a cobol-db2 program?

Answers were Sorted based on User's Feedback



what is commit & rollback? When and where is used while compiling a cobol-db2 program?..

Answer / naveen

Commit is used when the changein the record is to be made
permanent.
It is coded in Cobol-DB2 program after some frequency of
record is processed.

Rollback is Issued by the DB2 system/will be coded by User
when it any abends/errors occurs while processing.

Is This Answer Correct ?    8 Yes 2 No

what is commit & rollback? When and where is used while compiling a cobol-db2 program?..

Answer / 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

More DB2 Interview Questions

What is Skeleton cursor table (SKCT)?

2 Answers  


what is contained in the DB2 node lock file? A) data base names B) data base users names C) license keys D) server names

5 Answers   Accenture,


What is the difference between group by and order by?

2 Answers   IBM, TCS,


which SQL comment successfully removes uncommitted changes from a DB2 database A) rollback B) delete C) drop D) decommit

2 Answers   Accenture, Wipro,


What is a db2 cursor?

0 Answers  


What is difference between *omit and *nopass?

1 Answers   IBM, TCS,


What is dbrm? What it contains? When it will be created?

0 Answers  


What type of database is db2?

0 Answers  


What are the four lockable units for DB2?

1 Answers  


What is database manager in db2?

0 Answers  


Where could you look if you had a question about whether a column has been defined as an index?

2 Answers  


What is the difference between CS and RR isolation levels?

1 Answers  


Categories