• Subject: RE: global MONMSG to catch everything
  • From: "Dan Bale" <dbale@xxxxxxxxxxx>
  • Date: Thu, 7 Oct 1999 13:03:00 -0400

Thanks for the replies!

Just for the record, I _am_ trapping errors at the command level.  At least
those I _know_ about.  And that's the key.  The global MONMSG points to an error
routine which runs a DSPJOBLOG *print and sends a message to my user message
queue.  I get the message in the morning, check the job log, and modify my
program as appropriate.  This particular application is NOT mission critical, so
if it bombs in ANY way, shape, or manner, it absolutely MUST NOT tie up the job

Mission critical apps are a different animal altogether.  Intelligent decisions
must be made when designing the app when encountering an error not expected.

- Dan Bale

________________________ Original Message __________________________


CPF0000 will catch them all.  MCH, SQL, RPG, etc messages if not
caught (monmsg'd) will cause a CPF9999 message..and that will get
caught by the CPF0000.

BUT PLEASE BE CAREFULL!  What you are talking about doing is VERY
dangerous!                 <<< BIG SNIP >>>

| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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

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