In a previous life I was a SysAdmin who came behind one or more persons that used the MONMSG CPF0000 as a global Ignore All Errors. It works wonderful, too good if that is all you do. To use this globally it should goto an error routine that handles the error. They didn't, and at times it was only when a user called saying the data wasn't there or wrong did I know I had a problem. SW upgrades were fun since programs appeared to run correctly. The Long and Short of it all, it will work be very very careful... --------------------------------- Kirk Goins Pacific Information Systems 503-290-2104 firstname.lastname@example.org --------------------------------- > -----Original Message----- > From: Dan [SMTP:email@example.com] > Sent: Friday, October 01, 1999 12:03 PM > To: MIDRANGE-L@midrange.com > Subject: global MONMSG to catch everything > > I guess it had to happen. After 6 months, a nightly > batch job finally bombed, hanging because of a message > that wasn't monitored. As a result, the nightly batch > processing was delayed until 7 this morning and, > needless to say, there weren't too many happy people > when I walked in. TGIF! > > So... I need to absolutely, positively ensure that > this batch job will not hang due to a message not > being monitored. If I'm not monitoring for a specific > message that is sent to the program, this app should > be ended automatically & immediately. > > I seem to remember a global MONMSG to use for this. > Something like: > MONMSG MSG(CPF0000 MCH0000 ???0000) > (Can't remember the third one.) > > Is that foolproof? Or is there a better way? > __________________________________________________ > Do You Yahoo!? > Bid and sell for free at http://auctions.yahoo.com > +--- > | 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: > firstname.lastname@example.org > +--- +--- | 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: email@example.com +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.