- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: How to limit entry-numbers to max. 3 digits
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
01-16-2006 12:38 AM
01-16-2006 12:38 AM
How to limit entry-numbers to max. 3 digits
thanks a lot for any help in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 12:47 AM
01-16-2006 12:47 AM
Re: How to limit entry-numbers to max. 3 digits
By default, job entry numbers cycle between 1 and 1000. Once you had more then 1000 jobs it starts cycling between 1 and 2000. And so on.
If you need to go back to 1..1000, I am afraid you have to reinitialize the queue database.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 01:25 AM
01-16-2006 01:25 AM
Re: How to limit entry-numbers to max. 3 digits
Why do you want do limit the entry number to 3 digits?
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 05:32 PM
01-16-2006 05:32 PM
Re: How to limit entry-numbers to max. 3 digits
However if you use this number for something it WILL always pass the number 1000 which obviously is a 4 digit number.
So, as Ian suggested, you have to treat this number as an integer, not as a 3-digit number.
Rgds
Marc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 11:36 PM
01-16-2006 11:36 PM
Re: How to limit entry-numbers to max. 3 digits
I concur, treating the queue entry number as anything other than an opaque integer will cause a problem sooner or later.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 12:30 AM
01-17-2006 12:30 AM
Re: How to limit entry-numbers to max. 3 digits
The customer dont like to chance all the scripts.
If I delete and create the queue,it will be start count with jobnumber 1?
Which is the best solution for the customer?
Or is there no way to change the scripts to 4 digits?
Thanks for help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 12:37 AM
01-17-2006 12:37 AM
Re: How to limit entry-numbers to max. 3 digits
Theoretically, he *MUST* change his scripts to cope with the full 32-bit range (entry numbers can be larger than 4 digits - just start using multiple queue managers). Even if they were limited to 4 digits - they cycle between 1 and 1000, not 1 and 999. Using 3 digits is a design defect in his software and any workarounds will fail on one day.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 01:07 AM
01-17-2006 01:07 AM
Re: How to limit entry-numbers to max. 3 digits
If I delete and create the queue,it will be start count with jobnumber 1?
deleting the QUEUE does not get rid of the problem, you would need to create a new queue database with START/QUE/MANAGER/NEW
This will create a new empty queue database and you'll have to create all queues and jobs again. If you are desparate enough to do this, make sure to do a SHOW QUE/ALL/FULL/OUT=x.x of your old queue database first, to document your current settings.
As others have already pointed out, the problem is in the scripts not being able to handle 32-bit unsigned entry numbers. Re-creating the queue database will only be a temporary workaround.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 01:25 AM
01-17-2006 01:25 AM
Re: How to limit entry-numbers to max. 3 digits
First,
WELCOME to the VMS forum!
Which is the best solution for the customer?
Or is there no way to change the scripts to 4 digits?
As others have pointed out, there really is no reasonable solution but modifying the scrips.
Just curious: How did the customer succeed in accumulating "lots of scrips" dealing with 3-digit entry numbers? Did those never de-rail?
More importantly: HOW are the 3 digits specified in the scripts? Do the use a standardised syntax, or are they specified in a number of different ways?
How easy or complex would it be to generate a list of all those scrips, and then, would it be possible to formulate an EDIT COMMAND file to do the changes?
Because, even IF you refresh your queue file regularly (and think of the complexities mentioned above!), even then you only need ONE application that spawns a print command and have that runaway ONE time (any kind of foolish user choice, for instance) and you entry numbers go into 8digits. I have seen it happen, but that is another story.
Really, however cumbersome it may be, you MUST convince the customer that it MUST be changed, or someday, at the most unwanted moment, weird unwanted things are bound to happen.
And if it helps to convince your customer, please show them this thread.
Good luck!
Proost.
Have one oon me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 02:04 AM
01-17-2006 02:04 AM
Re: How to limit entry-numbers to max. 3 digits
vms OR openvms queue entry number
and read any of the similar discussions in
comp.os.vms which date back to 1995, and all
say the same things.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 04:15 AM
01-17-2006 04:15 AM
Re: How to limit entry-numbers to max. 3 digits
What I fail to comprehend is what value it would provide to program in DCL this way? This inevitably takes more work than just working with whatever length number they type in.
I've always found it better to try to code in DCL to make the scripts as generalized as possible with as few assumptions as possible regarding lengths of string fields and such.
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 10:01 PM
01-17-2006 10:01 PM
Re: How to limit entry-numbers to max. 3 digits
"If you make sure there is no pending or holding queue entry above 1000 and if you then reboot the system then it will again count from 1 till 1000."
This is not actually true (I've tried it in the past).
The only way to reset the numbers back down, as already pointed out, is to initialise the queue database and recreate the queues.
If anyone does find a 'backdoor' method, BTW, I'd love to get rid of our 7-digit entry numbers!
Rob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 11:06 PM
01-17-2006 11:06 PM
Re: How to limit entry-numbers to max. 3 digits
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 11:11 PM
01-17-2006 11:11 PM
Re: How to limit entry-numbers to max. 3 digits
Got quite high before we managed to spot it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 11:26 PM
01-17-2006 11:26 PM
Re: How to limit entry-numbers to max. 3 digits
it does work for me, several times.
My cluster is running OpenVMS V7.2-1 and I used it several times to get rid of the high numbers.
But make sure no print or batch entry, even failed print entries with a number higher than 1000 may exist!
Rgds
Marc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 11:31 PM
01-17-2006 11:31 PM
Re: How to limit entry-numbers to max. 3 digits
Rob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 12:57 AM
01-18-2006 12:57 AM
Re: How to limit entry-numbers to max. 3 digits
After 9999 it jumps to 1000000.
I deleted the queue and rebooted. Started again at 1. As Marc said.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 01:26 AM
01-18-2006 01:26 AM
Re: How to limit entry-numbers to max. 3 digits
Can you try sending a few thousand jobs ($ SUBMIT SYSLOGIN.LOGIN.COM) and see what the entry numbers go up to?
Thanks, Rob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 01:36 AM
01-18-2006 01:36 AM
Re: How to limit entry-numbers to max. 3 digits
Result : it jumped again. So the reset is done well.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 01:37 AM
01-18-2006 01:37 AM
Re: How to limit entry-numbers to max. 3 digits
but while doing that, delete some submitted entries below 1000 BEFORE you reach 1000. If you dont do that, the queue manager has no 'free' job number and will extend the max again.
Rgds
Marc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 02:02 AM
01-18-2006 02:02 AM
Re: How to limit entry-numbers to max. 3 digits
Can you also confirm Marc's point - did you allow the entries to complete/run, so that there were only a small amount in the queue at any point in time?
Rob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 02:11 AM
01-18-2006 02:11 AM
Re: How to limit entry-numbers to max. 3 digits
Marc : I removed entries while testing. It fills the holes and continues. Just like the first time. So, the reset works fine.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 02:12 AM
01-18-2006 02:12 AM
Re: How to limit entry-numbers to max. 3 digits
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 02:17 AM
01-18-2006 02:17 AM
Re: How to limit entry-numbers to max. 3 digits
Wim, you keep confusing me :-)
Surely you mean the reset does not work. The entry numbers should get to 9999 and then if there are any free slots, should go back to 1?
Rob.