You may use the STRWCH cmd.
it lets you specify MSGs to watch and excecute a program when
the specified MSGs occur.

We use it for several years now to send e-mail / SMS when batch jobs

When a MSG occurs the program checks against a table with MSG Id, User and
time slot and sends e-mail to the relevant users .
(each MSG has it's combination of time and destination users)

for instance:
If MSG RNQ0102 occurs during the day then 3 people are noticed by mail/SMS
(Operator, Programmer1, Programmer2)
if during the night, then only the operator (and me) gets noticed.


Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2015 by MIDRANGE dot 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 here. If you have questions about this, please contact