Operating System - OpenVMS
1751913 Members
4836 Online
108783 Solutions
New Discussion юеВ

Re: Expand the number of default jobs on sys$batch queue

 
SOLVED
Go to solution
smsc_1
Regular Advisor

Expand the number of default jobs on sys$batch queue


Hello all,
I have some problem executing scripts from the queue. My collegue says that in the queue there's a limit, so I can execute max 5 scripts on SYS$BATCH queue. Actually I have 6 scripts running on queue, but one of that submit another .com file.

My questions are:
1) Is there a limit on sys$batch queue?
2) If yes, how expand the number of default jobs in queue?

Thanks to all.
./ Lucas
3 REPLIES 3
Volker Halle
Honored Contributor
Solution

Re: Expand the number of default jobs on sys$batch queue

smsc,

use SHOW QUEUE/FULL SYS$BATCH to see the /JOB_LIMIT. The JOB_LIMIT limits the no. of batch jobs EXECUTING from that queue at the same time. You can submit more jobs, but they won't execute until one of the currently executing jobs finishes.

You can increase the limit with SET QUEUE/JOB_LIMIT=n SYS$BATCH. To do this, you need at least OPER privilege.

Volker.
smsc_1
Regular Advisor

Re: Expand the number of default jobs on sys$batch queue


Thanks Volker,
you drive me for the solution.

I increased the job limit to 10 for each batch node of the cluster in the queue.

Btw, if I use your command I got:
SYSTEM> SET QUEUE/JOB_LIMIT=10 SYS$BATCH
%JBC-I-ITMREMOVED, meaningless items were removed from request

instead if I use single node batch queue, I hit the goal!!

10 points for you. Thread Closed!
./ Lucas
Volker Halle
Honored Contributor

Re: Expand the number of default jobs on sys$batch queue

Then SYS$BATCH in your case is a GENERIC queue. /JOB_LIMIT only appplies to execution queues, i.e. the individual batch queues, in which the jobs execute.

Volker.