|
You will also get zero if none of the jobs are running for some other reason(s). Like, held job queue, inactive subsystem, . . .
++
Dennis
++
Sent from my Galaxy tablet phone. Please excuse my brevity.
For any grammatic/spelling errors, there is no excuse.
++
"John Brandt" <pgmr@xxxxxxxxxxxxxxx> wrote:
Use the QUSLJOB API to retrieve a list of those jobs in an "ACTIVE"
status
for the job name. If the return is 0, then all jobs with that name have
completed. There are a few examples you can find through a Google
search of
this API and its use.
John Brandt
-----Original Message-----
From: midrange-l-bounces+pgmr=experts.tzo.com@xxxxxxxxxxxx
[mailto:midrange-l-bounces+pgmr=experts.tzo.com@xxxxxxxxxxxx] On Behalf
Of
Schutte, Michael D
Sent: Monday, September 12, 2011 9:56 AM
To: Midrange Systems Technical Discussion
Subject: RE: How do you determine when numerous SBMJOBs have ALL
finished
Question! what happens if every single sbmjob job is held up in a job
queue
(or even just one when all others have finished)? And when the last
program
runs, it'll see zero in the data area. Thus executing. If you do this
method, I would make sure that you add to the data area before the
submit
occurs. However let the submitted job handle the subtraction.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-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.