×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




From: Steve Richter <srichter@AutoCoder.com>
I am/was hoping to use SIGEXCP as a light weight way to halt a pgm in an
manner similar to ASSERT in C. Where the pgm does not monitor for the
exception, causing the default exception handler to kick in and send a
CPF9999 to the pgm.

But SIGEXCP  CMP('CPF') ExcpId(X'9898')  results in a CPF2524 ( msg text
below ) being sent to the pgm.  Apparently QMHPDEH has a problem with my
exception msg.

Is is possible to send a CPF msg with SIGEXCP?

===> Steve, chapter 20 of my book (which you have) shows how to use SIGEXCP
to send
a message with a non-MCH compare value. You just have to be careful not to
invoke the
default handler (QMHPDEN) with an exception it doesn't already understand.





This thread ...

Replies:

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

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.