From: Charley Shanks To: All
What controls the number of jobs that can run in QBATCH?
From: Ernie Malaga To: Charley Shanks
Each job queue has a maximum number of jobs that it can release for execution. It's controlled by the MAXACT parameter of the CHGJOBQE command. Within this maximum, you can control how many jobs can be run from each of the nine priorities with the MAXPTYn parameters (where n is a value between one and nine).
Now, there can be any number of active job queues attached to a single subsystem. The subsystem has a similar limit parameter, called MAX-JOBS, that you find in the CHGSBSD command. For example, you may have JOBQ1 and JOBQ2 in subsystem QBATCH. If you set JOBQ1 to a maximum of five jobs and JOBQ2 to a maximum of six, the two job queues can potentially release 11 jobs at a time to subsystem QBATCH. If QBATCH subsystem has a MAX-JOBS setting of eight, however, it won't take more than eight jobs even though the job queues can allow up to 11.
The problem with QBATCH is that there is a QBATCH subsystem and a QBATCH job queue-two totally different objects-so it's easy to confuse one with the other.