|
Has there ever been a good error trapping mechanism in RPG? I do not think so. *PSSR, the error extension on some operations, checking the status, the error handlers (CEE API's), never got on in some way. You could use Receive Programme Mesage and/or Send Programme Message API's. But how do you handle decimal data errors, divide by zero and more of those nasty bugs. I think this should have a better method to deal with: a "simple" recovery method, in which you could correct the variable in error and return to the statement in error to continue. I have looked at some of those alternatives but not one of them can deal with the mentioned bugs properly. Just my thoughts. I may be mistaken, but then i like to hear how others have solved error trapping in RPG properly. Regards, Carel Teijgeler *********** REPLY SEPARATOR *********** On 7-4-03 at 14:46 Bartell, Aaron L. (TC) wrote: >>Well you can throw your own error with the message APIs but it isn't the >same as CL's MONMSG. > >Will Monitor and On-Error catch those errors with the message API's?
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.