That should have read _C2_MH_ESCAPE of course.
Celebrating 11-Years of SQL Performance Excellence on IBM i, i5/OS and
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(MCH2401err, 0, 0, _C2_MH_EXCAPE, _CTLA_HANDLE,