HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

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