• Subject: Re: Ending Interactive Subsystem
  • From: mcrump@xxxxxxxxxxxxxx
  • Date: Tue, 14 Oct 1997 16:55:30 -0500

>I want to end all jobs in QINTER Subsystem before I process my day end.
What is the best way to do this?  Should I just issue a >break message to
*ALLWS 10 minutes beforehand and then issue a ENDSBS *CTLD.  Or is there
>a better way to do this.  I don't want any users on the system while EOD
is running.

We have run a program for years that does something similar....
1.) We send a message to all QINTER users (WRKACTJOB *OUTFILE, or API) via
SNDBRKMSG to tell them that processing will start within 15 minutes.
2.) Wait 5 minutes.
3.) Repeat steps 1 & 2 twice

Just watch out for applications that are sensitive to being shut down hard
(incomplete updates, etc.).  Another thing you can do is prior to shutting
down the system ( maybe by a couple of hours) you can use the system value
QINACTITV to help weed out those inactive users.  For example, if you shut
down at 9:00 you could change at 7:00 and 8:00 to a lower value (one well
within the window to your shutdown) and then crank it back up when you are

| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2021 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.