|
Create your own version of the ENDSBS command and put it in a library that is higher in the library list then QSYS. Albert York -----Original Message----- From: Tom Daly [SMTP:Tdaly@sddsystems.com] Sent: Wednesday, January 09, 2002 2:47 PM To: 'rpg400-l@midrange.com' Subject: Subsystem monitor job Hi, I have some server jobs running in their own subsystem and a 'control panel' SFL program where you can start, stop, or end each individual server. Everything's peachy until someone issues an ENDSBS *IMMED. Is there a way to capture this and then notify each job to end itself in an orderly fashion? I was reading the manuals and see that a subsystem has a monitor job that is in DEQW awaiting incoming commands, presumably on a data queue or user queue. Can I have my own sbs monitor? What's the name of the queue? Any ideas on how to capture the ENDSBS *IMMED appreciated! Tom _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.