Got it, Thanks Elvis

Elvis Budimlic wrote:
That should have read _C2_MH_ESCAPE of course.

Elvis

Celebrating 11-Years of SQL Performance Excellence on IBM i, i5/OS and
OS/400
www.centerfieldtechnology.com


-----Original Message-----
Subject: Re: [C400-L] Multiple exception handlers same code

You can have nested exception handlers. First one invoked is the one
closest to the exception area.
Something like this ought to do what you're after:

#pragma exception_handler(RetryIns,0,_C1_ALL,_C2_ALL)
#pragma exception_handler(MCH2401err, 0, 0, _C2_MH_EXCAPE, _CTLA_HANDLE,
"MCH2401")

Elvis




This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].