>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 4.) ENDSBS *IMMED 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 done. +--- | 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: firstname.lastname@example.org +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.