× 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.



If you are interested, I have just done a lot of work with pre-start jobs
for an open source project I am working on.

As part of that project I have a service program that provides a simple
interface to submit pre-start jobs using spawn. That code is available.

The problem I see here is that you are going to need more than pre-start
jobs. All they do is give you a way to start quicker.

The problem is that you have to know when to submit a new job. Ending the
job is pretty easy. You just time out on the data queue if you have not
received work for some period of time.

The trickee part is knowing when to startup new jobs.

The only good solution I can think of is to have each processing job to
send a message through another data queue to a single program saying how
long it had to wait. When time waiting exceeded a certain value, start
another job.

Another possibility might be to have to processing check the time waiting
and do the submit if exceeded.



On Wed, Sep 14, 2016 at 10:43 AM, Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:

Yeah, I suggested spawn() in my other reply...

It was the only thing I could find, but I'm not sure it's the "batch
interface" discussed.

Charles

On Wed, Sep 14, 2016 at 11:38 AM, D*B <dieter.bender@xxxxxxxxxxxx> wrote:

<Charles>
Sounds like Paul wants a prestart batch job. Problem is, I can't find
anything documented on how to submit the "work request" through a "batch
interface".
</Charles>

the spawn() Api seems to be the batch interface.
... maybe this might help: https://www.ibm.com/support/kn
owledgecenter/ssw_i5_54/rzab6/xcodesigns.htm

Pauls first problem seems to me, that his DataQ listeners are NEPs (?!).

Using Java for a dispatcher is much more easier, class Receiver od
AppServer4RPG has such an animal, listening at a DataQ, getting a Thread
from a Pool and let it doe the Work for the clients.

D*B
--
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.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

--
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.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.