I forgot, you could also write a system watch that monitors the job log for the message and does what you want. That's outside the job and would not stop the message wait from occurring.
Standard Motor Products, Inc.
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of James Rich
Sent: Wednesday, September 02, 2015 2:32 PM
To: midrange-l <midrange-l@xxxxxxxxxxxx>
Subject: Send email on program halt
We want to send an email if our nightly closing/backup stops on any kind of error. I thought about monitoring for CPF0000 but I think that will prevent the job from stopping with a MSGW. I still want the job to stop with MSGW on the line where the error occurred, I just need some facility to notice that a MSGW condition exists and send an email. Any suggestions?
if you want to understand why that is, there are many good books on the design of operating systems. please pass them along to redmond when you're done reading them :)
- Paul Davis on ardour-dev
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l
Please consider the environment before printing this email.
The content of this e-mail (including any attached files) is confidential and may be privileged and protected by law. It is intended solely for the purpose of the person to whom it is addressed. If you are not the intended recipient of this message, please notify the sender immediately and delete the message (inclusive of any attached files). In addition, if you are not the intended recipient of this message, any disclosure, copying, distribution or taking any action in reliance of the contents of this email is strictly prohibited.