?
Solved

Deleting multiple print jobs in OpenVMS

Posted on 2005-04-14
10
Medium Priority
?
361 Views
Last Modified: 2008-03-04
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!!
0
Comment
Question by:tvurt
  • 6
  • 4
10 Comments
 
LVL 32

Expert Comment

by:r-k
ID: 13787620
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
 

Author Comment

by:tvurt
ID: 13790586
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
 
LVL 32

Expert Comment

by:r-k
ID: 13790923
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:tvurt
ID: 13791001
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
 
LVL 32

Expert Comment

by:r-k
ID: 13791112
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
 
LVL 32

Expert Comment

by:r-k
ID: 13791140
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
 

Author Comment

by:tvurt
ID: 13791274


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

Tom
0
 
LVL 32

Accepted Solution

by:
r-k earned 2000 total points
ID: 13791701
>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
 

Author Comment

by:tvurt
ID: 13808652
Thanks for all your help.

Tom
0
 
LVL 32

Expert Comment

by:r-k
ID: 13808809
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Often we come across situations wherein our batch files would be needing to reboot Windows for a variety of reasons. A few of them would be like: (1) Setup files have been updated whose changes can take effect only after a reboot …
In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question