From a java program, I have to call a set of COBOL programs. All the COBOL programs have the commitment control option as “slave”. These COBOL programs update a number of files. The web page should list the updated information from these files. After the user’s review, if the user selects the “CANCEL” button on the web page, I should be able to ROLLBACK all the updates done by the COBOL programs and go back to the main page.
Are there any other options to achieve this requirement? Your help is appreciated.