How does one know if the Domino server is ending controlled?

I am thinking about adding a ServerTasks entry to start a job upon start
of the server. Goal is to ensure that I have one FAX job and four QFAXDD
jobs running. This job will check every x minutes (after delaying long
enough for the Domino Fax for iSeries jobs to start) for these jobs. If
they are not running then corrective action will be taken. Which will
currently be:
- alert someone
- TELL FAX QUIT
- wait until jobs gone
- LOAD FAX
- rinse, lather, repeat

However, when the server is ending I want to end my monitor job cleanly
also. Is it as simple as:
if %shtdn;
from RPGLE? Meaning, does ENDDOMSVR *CNTRLD = ENDSBS *CNTRLD?

From the book:
The system operator can request shutdown by specifying the *CNTRLD option
on the following CL commands: ENDJOB (End Job), PWRDWNSYS (Power Down
System), ENDSYS (End System), and ENDSBS (End Subsystem). For information
on these commands, see the iSeries Information Center programming
category.

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.