Hi !
In a COBOL/DB2 program the DB2 data base changes can be controlled by ROLL BACK or COMMIT statements.i.e if we modify the table in the program and at the end of the program if we want to revert back the changes we can control that through ROLL BACK statement.
Suppose the program also writes/REWRITES a sequential file.Is there any why to revert back the WRITE/REWRITE at the end of the program basing on some error condition?
Any help...
Thanks
In a COBOL/DB2 program the DB2 data base changes can be controlled by ROLL BACK or COMMIT statements.i.e if we modify the table in the program and at the end of the program if we want to revert back the changes we can control that through ROLL BACK statement.
Suppose the program also writes/REWRITES a sequential file.Is there any why to revert back the WRITE/REWRITE at the end of the program basing on some error condition?
Any help...
Thanks