James,

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.

Paul

-----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.

http://www-01.ibm.com/support/docview.wss?uid=nas8N1011571

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.


This thread ...

Follow-Ups:
Replies:

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

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