Question { 21570 }
what is commit & rollback? When and where is used while
compiling a cobol-db2 program?
Answer
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.