Can you post the prestart job entry and job description?
I think your jobs should stay in DEQW rather than PSRW status. PSRW implies
a multithreaded job wait rather than a more traditional job.
We do this all the time and don't have any issues.
Why kill the job after 5 uses? It would seem to be overly expensive to
constantly be creating new prestart jobs.
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Paul
Nicolay
Sent: Tuesday, September 13, 2016 7:56 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Prestart jobs... how does it work ?
Hi,
?The problem: I have a dataqueue that containes requests to be processed.
Doing this one by one results in a typical bottleneck so I thought prestart
jobs would come to the resuce, afterall I know that I can specify an initial
number, an additional number, a maximum number and even how many uses my job
could handle.
I therefore defined my CL (which reads from a dataqueue, processes the
request and loops) as a PJ with an initial number of 3 jobs, 2 additional
ones and 5 uses. Initially I fired 3 requests and these got nicely
balanced over the 3 running jobs, but great was my surprise when I fired 100
requests.
In that case, no additional jobs got started despite that the 3 jobs were
busy, neither did any of the jobs ended after they processed 5 requests ?
Googl'ing the web I found nothing about how to write PJ programs, the only
thing I can find is about the settings.
One thing I could find is that such a job is meant to be in PSRW... but how
do I do this ? And how make I handle the system the rest of it ?
Kind regards,
Paul
--
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.