|
This is just the problem, *IMMED really is pretty immediate. If there's a bunch of jobs running some jobs don't wake up quickly enough to finish properly before the SBS ends. I thought about creating my own ENDSBS command.... It'd be fine on _my_ machine but not on customers'. One of the manuals has an example program of creating your own 'batch machine'. Looks simple enough, just need to know what queue to listen on. It looks like the sbs monitor jobs run pgm QWTMCMNL... I tried poking around to see if I could figure this thing out but no luck. Tom | -----Original Message----- | From: Scott Mildenberger [mailto:Smildenber@Washcorp.com] | Sent: Thursday, January 10, 2002 14:32 | To: 'rpg400-l@midrange.com' | Subject: RE: Subsystem monitor job | | | Rich, | | Does your program really get a chance to recognize the | shutdown and end | itself event if it is ended *IMMED. I seem to remember | that a job being | ended *IMMED won't get this chance, it has to be ended | *CNTRLD with a long | enough wait so that it can get to the point where it checks | for shutdown. | | Scott Mildenberger | | > -----Original Message----- | > From: Rich Duzenbury [mailto:rduz@westernmidrange.com] | | > | > I code all my never ending batch jobs to check to see if they | > have been | > ended by someone each time they wake up. | _______________________________________________ | This is the RPG programming on the AS400 / iSeries | (RPG400-L) mailing list
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.