Deleting multiple print jobs in OpenVMS

Hi,

My problem is that I am trying to find a way to delete multiple jobs out of a print que in OpenVMS WITHOUT having to type in the number of each job name.

The command I know to use is delete/entry=job number,next job number. This works fine except I need to delete thousands of jobs out of the que so typing in each number won't work.

Any help GREATLY Appreciated!!
tvurtAsked:
Who is Participating?
 
r-kCommented:
>I will start looking for that startup file now.  Thanks for the help so far!

 Another thing to try if you don't find it:

(log in as system)

$ search *.com "init/queue"

should reveal any command file that has the init/queue command within it.

(Sorry if I am repeating the obvious, but I am assuming you may not be very familair with VMS. The *.com files are text files, with a role like *.bat files in Windows. The systartup_vms.com is like autoexec.bat in Windows)
0
 
r-kCommented:
I would just delete the queue, then create it again.

For example:

$ stop/queue/reset queue-name
$ delete/queue queue-name
..
and then the command to re-create the queue.

(I have my command in a command file for convenience, but it's usually something like:

 init/queue/start....

HTH.
0
 
tvurtAuthor Commented:
Thank you r-k.  I am a windows admin - and know next to nothing about the VMS system I am supposed to maintain :(. It is a legacy application - and no longer supported.  Would deleting this queue have any effects on the system that I am not aware of?

I could delete the queue when no users are logged on - and re-create it.    But I know nothing about re-creating a queue.  How would I find out what parameters need to be set when the queue is created?

Thanks very much in advance - I am so out of my element here.

0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
r-kCommented:
Stopping and deleting the queue should have no bad effects (other than losing anything in the print queue), but you should know how to re-create the queue. Normally you may find commands in the systartup_v5.com (or systartup_vms.com) file for creating the queue, so I would look there first. Like I mentioned the command will be something like "init/queue/start..." but may be something else depending on the type of queue you have. Rebooting may also restore the queue, but you should not count on that - better to know in advance that you can create it yourself w/o a reboot.

If the above is not making sense, you can try the following:

$ show queue
(lists names of all queues)

$ show queue/full queue-name  
(where queue-name is the queue you want to clear)

and post the output of the last command here.

I will try to help, but must admit we don't have a recent version of VMS here anymore.

Good luck.
0
 
tvurtAuthor Commented:
Thanks for the help.

Here are the results

Printer queue CHECK4, stopped, on TPM::"192.168.43.20:9102", mounted form CHECK
  /BASE_PRIORITY=4 /DEFAULT=(FEED,FORM=DEFAULT) /OWNER=[SYS,SYSTEM]            
  /PROCESSOR=UCX$TELNETSYM /PROTECTION=(S:M,O:D,G:R,W:S) /SCHEDULE=(NOSIZE)

 Entry  Jobname         Username     Blocks  Status                            
  -----  -------         --------     ------  ------                            
         (1585 intervening jobs containing 36455 blocks)                        
   6845  ZAP_13_26_04    ZAP           23  Pending (queue stopped)          
         Submitted 13-APR-2005 13:26:04.23 /FORM=CHECK /PRIORITY=100            
         File: _TPM$DRA0:[CHECK_RECEIPT]ZAP_13_26_04.CHECK_956;1 /DELETE        
             /PASSALL                  

Thanks

Tom


     
0
 
r-kCommented:
Oops, that's a type of queue (ucx$telnetsym) that I am not personally familiar with setting up.

Did you have any luck finding the queue start command in the systartup... file?

What version of VMS are you running (type SHOW SYS and look at the first line)

I assume you noticed that the queue is "stopped". If you restart the queue, it may resume working normally, though it will print the hundreds of pending jobs, which you may want to avoid.
0
 
r-kCommented:
You can also consider posting your question to the comp.os.vms newsgroup. There are many VMS experts there. It's accessible via the web at:  http://groups-beta.google.com/group/comp.os.vms
0
 
tvurtAuthor Commented:


I will start looking for that startup file now.  Thanks for the help so far!

Tom
0
 
tvurtAuthor Commented:
Thanks for all your help.

Tom
0
 
r-kCommented:
No problem. Always glad to help with VMS topics. It was my favorite system for about 20 years. Hope you were able to get your queue cleared up.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.