- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Queue Entry Numbers
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
Forums
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
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
10-24-2007 12:59 AM
10-24-2007 12:59 AM
Queue Entry Numbers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 01:06 AM
10-24-2007 01:06 AM
Re: Queue Entry Numbers
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 01:15 AM
10-24-2007 01:15 AM
Re: Queue Entry Numbers
Do you have a real problem at the moment ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 01:29 AM
10-24-2007 01:29 AM
Re: Queue Entry Numbers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 01:35 AM
10-24-2007 01:35 AM
Re: Queue Entry Numbers
Cheers,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 01:38 AM
10-24-2007 01:38 AM
Re: Queue Entry Numbers
to begin with:
WELCOME to the VMS forum!
Qute question.henever this issue came up before, it was the other way around: people having trouble with the high numbering.
But you really do NOT need to worry about scarseness of entry numbers. Whenevr there are no free entry numbers, the list gets extended (as in extended BIG TIME!).
Just treat it as an ID, with NO open or hidden implications oyjer than uniqeness, which starts with a restricted set, but with the ability to expand at need.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 03:20 AM
10-24-2007 03:20 AM
Re: Queue Entry Numbers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 11:42 AM
10-24-2007 11:42 AM
Re: Queue Entry Numbers
Queue entry numbers look after themselves. The range will expand when and if necessary, so if you never have more than 999 simultaneous entries, the numbers will just cycle 1-999. Once you get your 1000th simultaneous entry the range is expanded. Apart from the first few jumps, the pattern of expansion is reasonably complex, undocumented, and subject to change, so there's not a lot of point in trying to figure it out. Just trust that the system works.
When storing or manipulating entry numbers don't make any assumptions other than it being a 32 bit integer that uniquely identifies a particular entry.
Regarding Art's problem (runaway expansion giving very large numbers), If the big numbers offend, you can "fix" them by cycling entries yourself. Something like:
$ loop:
$ SUBMIT/HOLD SYS$LOGIN:LOGIN.COM
$ DELETE/ENTRY='$ENTRY'
$ IF F$INTEGER($ENTRY).GT.999 THEN GOTO loop
Once you've got the entry number into the range you want, and all the high entry numbers are gone, the queue manager should revert to the smallest range that will contain all existing entries.
The impatient may want to force the issue with:
$ MCR JBC$COMMAND
JBC$COMMAND> DIAG 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 12:32 PM
10-24-2007 12:32 PM
Re: Queue Entry Numbers
Like I said, I don't think there's any recourse but to "start again" - delete the database and redefine all our queues, forms, characteristics and resubmit all holding jobs. Not a task I look forward to, but for now it still works.
The DIAG 7 did reduce the size of the journal file after those 14M entries got deleted.
Cheers,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 07:40 PM
10-24-2007 07:40 PM
Re: Queue Entry Numbers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 12:43 AM
10-25-2007 12:43 AM
Re: Queue Entry Numbers
$ MCR JBC$COMMAND
JBC$COMMAND> DIAG 7
What does this do?
Is it documented?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 01:25 AM
10-25-2007 01:25 AM
Re: Queue Entry Numbers
$ dir/size=all SYS$COMMON:[SYSEXE]SYS$QUEUE_MANAGER.QMAN$JOURNAL;1
If it has a large allocation, a:
$ mcr jbc$command
JBC$COMMAND> diag 7
will (should) do a bit of housekeeping and reduce the journal file allocation (sometimes). I believe it's ability to do this is reduced by the number of current jobs in all their various states (holding, pending, executing, retained etc).
I have found very little info on JBC$COMMAND ... mostly just folklore in forums ;-)
Cheers,
Art