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: 

Large number of entries in print queue

 
SOLVED
Go to solution
John A. Beard
Regular Advisor

Large number of entries in print queue

We have a label printer issue where on-site technicians have been working for some time now to get the device back up and running.

The jobs that go to this queue are auto-generated (through scanning) and number about 1000-1500 jobs per day. Because of the on-going problem with the printer, the queue is permanently in a stalled state and total job numbers quickly run into the 1000s. Apart from deleting the VMS queue and letting the jobs just fly out the window, I was wondering what impact having 1000s of jobs being handled by the queue manager might have on overall performance, etc. I know we can clean up the queue on a daily basis, so once again, I'm just looking for any general guidance on the potential affects of having huge numbers of jobs being submitted to the queue....thanks.
Glacann fear críonna comhairle.
5 REPLIES
Wim Van den Wyngaert
Honored Contributor
Solution

Re: Large number of entries in print queue

I once did tests on a alphastation 500 running 7.3 and created more than 10.000 entries. No problems but when the problem is solved it's best to do a
$ mcr jbc$command diag 7
to reset the queue db size.

Of course, if you monitor the queue entries in DCL or whatever, this could take a very long time to complete.

fwiw

Wim
Wim
labadie_1
Honored Contributor

Re: Large number of entries in print queue

You can clean the queue really easily

$ INIT /QUEUE JUNKQ !add /BATCH or /DEVICE
$ ASSIGN/MERGE JUNKQ the_real_q
$ DELETE/QUEUE JUNKQ

(Courtesy of Jess Goodman)
John A. Beard
Regular Advisor

Re: Large number of entries in print queue

Hi Wim,

Can you elaborate on what the parameters "diag 7" do within the command ....$ mcr jbc$command diag 7
Glacann fear críonna comhairle.
Hoff
Honored Contributor

Re: Large number of entries in print queue

There isn't typically a huge effect here, and tens of thousands of entries in the queue database isn't all that much.

The DIAG 7 stuff is an old-time and formerly undocumented command that compresses part of the job controller database. It became documented in a copy of the release notes a while back:

--
You can shrink the size of the journal ï¬ le by having a privileged user issue the
following DCL command:
$ MCR JBC$COMMAND DIAG 7
Executing this DCL command check points the queue journal ï¬ le and shrinks the
ï¬ le to the minimum size required for queue system operation.
---

Current versions of the Job Controller have become somewhat better in related areas, too. The usual "apply current ECO kits" rule applies here.
John A. Beard
Regular Advisor

Re: Large number of entries in print queue

Thanks to one and all for the information I needed
Glacann fear críonna comhairle.