This is a complex problem composed of two problems. One, how to send the
email. Two how to determine what subsystems are not running that should
be.

For sending email many people start out with the IBM supplied SNDDST. See
if you can get that working. Expect to get flooded with a variety of
emails as to why you should use alternatives.

For determining what subsystems are not running that should be there are
several ways.
1 - Use iSeries Navigator. Management Central, Monitors, Job monitor. You
can create a monitor for a subsystem job and if the count is zero then
execute an i5/os command, like SNDDST. No CL involved.

2 - List Active Subsystems (QWCLASBS) retrieves a list of active
subsystems.
http://publib.boulder.ibm.com/infocenter/systems/scope/i5os/topic/apis/qwclasbs.htm

3 - As much as I detest it, there is WRKSBS OUTPUT(*PRINT) and then using
CPYSPLF to a disk file and analyzing that. I hate using spool files in
this way because they are often subject to change during release upgrades,
ptf's, etc.



Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.