Is there any way that we can handle commitment control in RPGLE program i.e. if program dumps at some point then we rollback the updates done on other files in previous steps.
Actually I am calling rpgle program from outside iSeries.
If any error occurs on external interface then I have the way to control them from there itself, but if error occurs within RPGLE program then I did not find any way to handle the commit/rollback options there.
Please suggest some suitable method for handling commitment control in RPGLE program.
If I opt for journaling then it would also be for file level and not for program level.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!