- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: How to delete hundreds of queue in pending
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 12:22 PM - last edited on 01-15-2024 11:06 PM by support_s
01-15-2024 12:22 PM - last edited on 01-15-2024 11:06 PM by support_s
Hello community, I'm stuck with an issue on OpenVMS since I have hundreds of pending queue like this:
5009012 NTPSET USER Pending
5009014 NTPSET USER Pending
5009016 NTPSET USER Pending
5009018 NTPSET USER Pending
5009020 NTPSET USER Pending
5009022 NTPSET USER Pending
5009024 NTPSET USER Pending
5009026 NTPSET USER Pending
5009028 NTPSET USER Pending
5009030 NTPSET USER Pending
I count over 100.000 entries and I don't know how to delete it (one by one it's impossible). I tried to stop it and then delete, but I got:
del /queue SMZ1_BATCH
%DELETE-E-NOTDELETED, error deleting SMZ1_BATCH
-JBC-E-REFERENCED, existing references prevent deletion
Could someone help me to address this issue ?
Thank you
Lucas
Solved! Go to Solution.
- Tags:
- Operating System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 08:40 PM
01-15-2024 08:40 PM
Solution> [...] I have hundreds of pending queue like this:
> [...]
"queue" or queue _entries_ like this? This is output from a command
like:
show queue /all your_queue_name
or what, exactly?
> [...] I tried to stop it and then delete, but I got:
I don't know of a better fast way. so I might try a DCL script which
enumerates all the jobs of interest, and does "delete /entry = xxx" for
each of them. Perhaps that would be easy and fast enough.
help Lexicals F$GETQUI
F$GETQUI is rather complicated, and I don't have an example script
which does exactly what you want, but I do have one which might be
pretty easy to adapt.
http://antinode.info/ftp/misc/queue_check.com
Instead of using "write sys$output" to display the info for each job,
use "delete /entry = 'entry_nr'" to whack each job. If ALL_JOBS is not
selective enough, feel free to add more conditions.
Have you figured out how to stop adding more of these jobs to the
queue(s)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 10:05 PM - edited 01-15-2024 10:09 PM
01-15-2024 10:05 PM - edited 01-15-2024 10:09 PM
Re: How to delete hundreds of queue in pending
Thank you, I ended up to export the whole list, and create the delete commands from bash linux shell, cause I'm not DCL expert.
Now I deleted every entries, but queue wont start:
START/queue SMZ2_BATCH
%JBC-I-AUTONOTSTART, queue is auto start active, but not started
On the other cluster node everything is ok:
Batch queue SMZ1_BATCH, available, on SMZ1::
Any clue please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 10:17 PM
01-15-2024 10:17 PM
Re: How to delete hundreds of queue in pending
> %JBC-I-AUTONOTSTART, queue is auto start active, but not started
help /message AUTONOTSTART
> [...] I'm not DCL expert.
Documentation abounds at: https://docs.vmssoftware.com/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 11:03 PM
01-15-2024 11:03 PM
Re: How to delete hundreds of queue in pending
DONE Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 12:39 AM
01-18-2024 12:39 AM
Re: How to delete hundreds of queue in pending
Hello @smsc_1,
Perfect!
We are extremely glad to know your concern has been addressed.
Sunitha G
I'm an HPE employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]