- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- queue job entry number
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
Discussions
Forums
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
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
тАО02-06-2007 09:33 PM
тАО02-06-2007 09:33 PM
The job numbers in print/batch queues raised untill 1000 and then restarted with 1, but now they continu above (now 1200)without any change in the system.
How can we explain or control this behavior? (vms 7.3)
Thank's in advance.
gerard
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2007 09:41 PM
тАО02-06-2007 09:41 PM
SolutionThe job entry number is an opaque longword value, so do not worry, they will roll back to 1...later.
As it is a longword, you could get 2 or 4 billion entries :-)
You can't predict what will be the next entry number, 1201 may or may not be the next entry number after 1000.
No risk of two entries with the same entry number, by the way.
PS: So you have left S....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2007 10:02 PM
тАО02-06-2007 10:02 PM
Re: queue job entry number
And you don't have multiple queue managers in which case some upper bits would get used.
But I agree with labadie:
don't try to understand how it works. As you can see, it can change at any time and it is not documented.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2007 10:05 PM
тАО02-06-2007 10:05 PM
Re: queue job entry number
https://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=992108
(it's good to have a name containing wyngaert. Google immediately finds my stuff)
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2007 01:49 AM
тАО02-07-2007 01:49 AM
Re: queue job entry number
Now it's more clear to me
Gerard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2007 03:10 AM
тАО02-07-2007 03:10 AM
Re: queue job entry number
--
13.7 How can a batch job get its own batch entry number?
To have a batch procedure retrieve its own batch entry
number, use the following:
$ Entry = F$GETQUI("DISPLAY_ENTRY", -
"entry_number","display_entry","this_job")
Remember that the entry numbers issued by the OpenVMS
Job Controller are always opaque longword values. Do
not assume you know the format of the entry number,
nor the range of entry numbers you might see, nor the
algorithm that is used to assign enty numbers. You
should simply assume opaque longword.
--
I'll tweak the section to better explain the details and the (lack of) a published algorithm. And that there have been changes to the internal algorithm. In retrospect, it was probably a bit of a UI mistake to have the first entry be "1", etc. Had it looked like a PID...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2007 04:32 AM
тАО02-07-2007 04:32 AM
Re: queue job entry number
Didn't the OPCOM request numbers change the other way round?
I have a dim memory that we first had some arbitrary numbers which later (VAX/VMS V5?) was changed to start by one and then just increment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2007 04:55 AM
тАО02-07-2007 04:55 AM
Re: queue job entry number
The classic PID had a re-use count and a slot number. (And very similar to the file system FID scheme, I might add.)
The new PID stuffs the cluster node into the PID, too.
The batch queue entries can have some interesting jumps; there are some big jumps that can occur, far beyond what you might expect for a sequential algorithm -- there are some big jumps when you have multiple queue managers around.
In the current (circa V8.3) queue manager scheme, the values are bit-fields. If you're seeing stuff with small entry numbers, then the queue manager configuration is a simple one.
Schemes can change, as the folks using knowledge of the old PID had discovered eons ago. There was at least one third-party product around for OpenVMS that had always assumed the job entry would fit in a word too, even though all the documentation had indicated it was a longword, for instance.
As I've been quoted before, "it's an opaque longword". Don't assume... The particular scheme may never change, or it may change in the next ECO.