|
On 2017-10-12 10:54 AM, Buck Calabro wrote:
...
As much as I like a good philosophical discussion, this is actual
program code that I'm working on. There are two 'abnormal' code paths
within the ON-EXIT block:
1) An exception like array index error. This will be trapped by
MONITOR...ON-ERROR.
2) An API call that executes with no exceptions, but returns an
unexpected result in the error code parameter. MONITOR...ON-ERROR
doesn't trap these.
Could you move the API calls in the ON-EXIT to another procedure where
DUMP is allowed? I guess it depends on how much of the data from the
on-exit procedure you want to see in any dump output related to the API
calls in the ON-EXIT section.
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.