|
On Wed, May 4, 2022 at 12:54 PM Richard Reeve <rjrjr64@xxxxxxxxx> wrote:
that
What is the best option out there to monitor batch jobs off hours
till alert via text/email when a jobs errors or takes longer than
expected? I googled it but didn't come up with much.
Different people/organizations will have different definitions for "best".
Where I work, budget is extremely tight, so if we can roll our own, we
do. (And if we can't, we usually just do without.)
In this case, we did set up our own alert system. The traditional way
to find out job statuses programmatically is to use the QUSLJOB system
API. There are quite a few forums/blogs/articles on the subject.
Nowadays, IBM i Services include a lot of SQL-accessible table
functions (such as ACTIVE_JOB_INFO) that retrieve the same
information. Look under "Work Management Services" for relevant
options.
I trust you know, or can find out, how to send emails from your
system. Text messages can be sent as emails to <number>@vtext.com,
<number>@txt.att.net, etc. You just have to know the carrier for each
number.
John Y.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.