|
If the sleeping loop is in the RPGLE, you can use %SHTDN. That also trips
on the same conditions as RTVJOBA.
Just remember when you are shutting things down (PWRDWNSYS, ENDJOB, ENDSBS,
etc.) make sure you end it *CNTRLD instead of *IMMED and allow it enough
time for it to react and do whatever needs to be done before ending. For
example, if the job sleeps for 10 minutes and you end it *CNTRLD with a 5
minute window, it might not wake in time to exit gracefully.
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.