I also have an RPG MONITOR set up to trap an error. In the
ON-ERROR, if I execute the following API then it does what I want it to do
-- which is to remove the error message from the joblog.
But, I created a service procedure so that this API call does not
have to be replicated all over the place. In that service procedure, I
dynamically determine the calling program (using another service procedure
I created) and then issue the above API as follows:
I ran it through debug to confirm that iCaller contains the
expected calling program name -- and it does. In this case, though, the
API does not do what I want -- no errors are raised, but the error message
remains in the joblog. Thus, my original question.
This mailing list archive is Copyright 1997-2026 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.