Yes, it is foolproof but you'll have to do it for every CL program. My suggestion for you is to do this for all programs, including CLs and RPGs: CHGMSGQ QSYSOPR *DFT Remember to change *DFT to *BREAK when the operator is around to answer messages. Goodluck, Oludare ----- Original Message ----- From: Dan <email@example.com> To: <MIDRANGE-L@midrange.com> Sent: Friday, October 01, 1999 3:03 PM 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.