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



Tomek,

You can have multiple job queues in SUBSYSTEM QBATCH. Each job queue can
have multiple priorities, and each priority can have a maximum number of
jobs running that can run a the same time.

To see this do a WRKSBSD QBATCH and then take the option to show job queue
entries (option 6 on V5R4) This will show you what the maximum number of
jobs is for each priority and jobq. As Rob said, you can control what jobq
and prioriy a job runs through by the job description.

For the user that needs the high priority regardless of what they are
running, they could get their own JOB QUEUE. I have done that for a lot of
years for programmers, not because they need high prority, but because they
can have compiles or test runs that can clog the system.

Remember that there are three max active numbers - SUBSYSTEM, JOB QUEUE or
PRIORITY within the JOB QUEUE. If you set the maximum number of jobs in your
QBATCH subsystem to 10, and allow only one or two long running report jobs
at a time, it will leave 8 slots for higher priority jobs to run. If you
use 3 of those slots for print jobs, you have 5 left for the really high
priority jobs. Of course you must tune this to what your system resources
can handle.

HTH

Jim

2009/4/14 Tomasz Skorża <t.skorza@xxxxxxxxxxx>

Hi

Prioroties - is good and bad solutions -
bad because if some job taking long time in QBATCH any other jobs which
will call after - have to waiting regardless of his high priority ....

Other things which I not sad clear -

It should works in that way :
some jobs - like printing on paper report should always not waiting for
anything - have to high priority
some jobs - should have high priority if userA called them, and small
pririority if userB called them
some user (i mean his jobs) have to have high priroty - regardles of type
of called job.

So in my opinion do something like this using only priority will be not so
easy ...

I think I need three jobqs:
1) PRINT - ONLY for printing
2) REPORTS - ONLY for reports (time consuming jobs)
3) QBATCH - for any other

Tomek




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.