I don't think that will help with this Michael's issue since those jobs still in the job queue are not int an ACTIVE status either.
Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx
-----midrange-l-bounces@xxxxxxxxxxxx wrote: -----
To: "'Midrange Systems Technical Discussion'" <midrange-l@xxxxxxxxxxxx>
From: "John Brandt"
Sent by: midrange-l-bounces@xxxxxxxxxxxx
Date: 09/12/2011 11:44AM
Subject: RE: How do you determine when numerous SBMJOBs have ALL finished
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.
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.