I use a combination of MPLUS and WRKWCH.
With MPLUS, you have control, can send a message, answer a MSGW, etc.

Same with WRKWCH.

However, you mentioned "any kind of error"

For both MPLUS and WRKWCH, each message needs to be monitored for.

So you probably are looking at setting up a specific Job monitor, which could handle any message, but only for that job.


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of James Rich
Sent: Wednesday, September 02, 2015 4:13 PM
To: Midrange Systems Technical Discussion
Subject: RE: Send email on program halt

On Wed, 2 Sep 2015, Kendall Kinnear wrote:

Yes you can, check out the STRWCH command. (Assuming you are running
V5R4 or greater). You don't want a lot of watches because it will
impact system performance but a few can help greatly. I use one to
facilitate restarting my remote journals after network errors but
watching the QHST log for CPF70D5 messages.


Thankfully we are on V5R4, so I will look at STRWCH.

James Rich

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,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.

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.