|
>> Please let me know how to handle this situation. How do I rollback any changes that has been made on files when a program exception happens? I have never tried to use it for this purpose, but in theory you should be able to use the Register error handler API (sorry I can't recall the name) to register a program to perform the error response. That program should be able to do the rollback for you before issuing the appropriate response. The only other possibility I can think of would be to convert the CL program to CLLE and run it in a separate AG so that COBOL did not consider it part of the run unit. Depending on the application that may or may not have some scoping implications - which can be dealt with but it is a factor to consider. Jon Paris Partner400
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.