× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I would use a file containing the starting end ending times for each
job. When all of the ending times have been updated, the jobs have
completed. This would also provide you with a history of what happened
and allow you to monitor the jobs in case they take longer than they
should (if they error out for example).

It isn't as efficient as a date queue or a data area but there isn't a
lot of I/O.

Albert

On Mon, Sep 12, 2011 at 10:04 AM, Dennis <iseries@xxxxxxxxxxxx> wrote:
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.