Job queue - Max Active

cazinpa

Member
Hi all!

I have inherited JDE from a former employee and am finding out that a lot of things are not right.

One of the things that users complain about is that only one person can run a batch job at a time.

I looked in to this and found that the "max Active" setting for "QBATCH" is set to 1.

Is this something that JDE requires for exclusive table access, or can I change it to a more reasonable value like 5?

Thanks! Go easy on me as I am new to this and still learning ;-)

Andy
 
Andy,

We have several Subsystems here allowing more than 1 active job, Qbatch
is one of them. We several Jobq's that feed the Qbatch Subsystem. The
only word of caution I have for you is to be careful on having a Jobq
set to *NOMAX to go to Qbatch, this means any and all jobs going to that
Jobq will go right into Qbatch to run. This could get dependent jobs
running at the same time, like one job runs to update some order
statuses and then behind it a report of all of the orders at this new
status.....if they end up running at the same time, then the report will
not be complete.

You would need to decide how you want jobs managed. Here is what our
Qbatch setup and Jobq's look like:
Display Job Queue Entries
System:
BLSPROD
Subsystem description: QBATCH Status: ACTIVE

Seq Job Max
 
Hi Andy,

QBATCH job queue is normally set to 1. You may need to add additional job
queues to QBATCH subsystem and allow multiple jobs to run in them; then
you need to direct your jobs to run in these new job queues.
Make sure maximum jobs in subsystem QBATCH is set to *NOMAX or to a
number is higher or equal to the total number of allowed jobs to run in
all job queues.

Hope that help.





cazinpa <[email protected]>
Sent by: [email protected]
03/08/2007 10:36 AM
Please respond to
JD Edwards=AE World <[email protected]>


To
[email protected]
cc

Subject
Job queue - Max Active






Hi all!

I have inherited JDE from a former employee and am finding out that a lot
of things are not right.

One of the things that users complain about is that only one person can
run a batch job at a time.

I looked in to this and found that the "max Active" setting for "QBATCH"
is set to 1.

Is this something that JDE requires for exclusive table access, or can I
change it to a more reasonable value like 5?

Thanks! Go easy on me as I am new to this and still learning ;-)

Andy
 
Andy,

Is that max active you are talking about on the job queue or on the
subsystem? Would not do good to increase max active on the job queue if
the subsystem is set to max active 1.

John Dickey
ext. 3067
 
Andy,
Just a reminder--your max Active = 1 may have been set to ensure that the post jobs would be single threaded, which is a JDE requirement.
Debbie
 
I know there will be lots of various responses on this topic so here is mine. We created (for example) various jobq's that feed one or two subsystems. We "sort of" have the jobq's split up by "department" so if things get backed up, it is their own fault. The exception to this is P09800 posting which we have all versions of that feeding to one jobq. We also have some other small jobs that we always want to run independent of other things and we have those things set aside in another jobq. And another thing to think of is any "night time" processing you might have (Sleeper). We created a couple jobq's just for nighttime processing so that if something fails at night or gets stuck, it doesn't back up daily stuff in the morning.

Use some judgement and tend to keep max active = 1 on the jobq but allow multiple jobq's to feed the subsystem. My .02 worth...
 
Back
Top