There are two parameters you will need to change. CHGSBSD SBSD(QSYS/QBATCH) MAXJOBS(*NOMAX) CHGJOBQE SBSD(QBATCH) JOBQ(QBATCH) + MAXPTY1(*NOMAX) MAXPTY2(5) + MAXPTY3(4) MAXPTY4(3) + MAXPTY5(1) MAXPTY6(1) + MAXPTY7(1) MAXPTY8(0) + MAXPTY9(0)
The first command tells the system the total number of jobs that may run simultaneously in the subsystem regardless of the jobq entries. You may find QBATCH already setup as *NOMAX. The second command tells the subsystem how many of each jobq priority to allow to run simultaneously; subject to the subsystem description. Obviously, you will need to be judicious in your settings of the jobq settings. I wanted to point out a trick that we use here to allow jobs to sit in a jobq until we "release" them during the dedicated system processing at night. You'll notice that priorities 8 and 9 have max set to 0. This means just that, nothing will run if it has a jobq priority of 8 or 9 -- until that jobq entry is changed. And that is what we do at night, priority 9 is changed to max active 1 and then we submit a jobq pty 9 job that then sets it back to max active 0. Bill silvio wrote: How can I change the number of jobs that are running at the same moment in QBATCH subsystem, because the default is one and I want to change it ? Silvio Santos