- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- 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-17-2006 12:34 AM
01-17-2006 12:34 AM
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-18-2006 03:03 AM
01-18-2006 03:03 AM
Re: How to limit entry-numbers to max. 3 digits
Redefine all the queues (printer, batch, (other?)), resubmit all the jobs.
Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 03:17 AM
01-18-2006 03:17 AM
Re: How to limit entry-numbers to max. 3 digits
No. Sheldon is correct. You must rebuild the entire queue management database. The entry numbers encompass all queues - not just the one you're interested in.
> Which is the best solution for the customer?
Though the customer doesn't want to change their scripts, it is the only reliable way to deal with this. Even if you rebuild the queue manager's database to restore the 3 digit entry number behavior, if the system ever experiences a time when there are more than 999 entries in the queue database, expansion of the entry field will occur again.
> Or is there no way to change the scripts to 4 digits?
Yes. You would have to post an example of their scripting in order for someone to advise how best to make such a change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 03:34 AM
01-18-2006 03:34 AM
Re: How to limit entry-numbers to max. 3 digits
Your mileage will vary, but as a hint of what's possible with a good tool, I've found the freeware FIND with /REPLACE very powerful and extremely useful to change source code/scripts in bulk.
As an example, we have buckets of DCL scripts that call a 4GL program, from one version of the 4GL to another, the input string format changed, rather than edit all those scripts we used FIND/REPLACE to change them quickly.
http://h71000.www7.hp.com/freeware/freeware70/find/
Kind Regardsd
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2006 10:30 PM
01-20-2006 10:30 PM
Re: How to limit entry-numbers to max. 3 digits
Entry numbers are a 32 bit unsigned number and can therefore be up to 10 digits long. Any program or procedure that assumes less has a large bug which needs to be fixed urgently.
You can play games to rebuild your queue manager data base to reset entry numbers, but be sure this bug WILL continue to cause you headaches in the future. Better to fix it now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 09:03 PM
01-23-2006 09:03 PM
Re: How to limit entry-numbers to max. 3 digits
but one question more to this problem: Last year we chanced from Openvms 7.2 to 7.3.
Is it possible that the new version permits entrynumbers with 4 digits in opposite to the Version 7.2 (only 3 digits?) ??
Thanks
Manfred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 09:11 PM
01-23-2006 09:11 PM
Re: How to limit entry-numbers to max. 3 digits
Version 7.2 and versions before had more than 3-digit entry numbers.
Rgds
Marc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 09:19 PM
01-23-2006 09:19 PM
Re: How to limit entry-numbers to max. 3 digits
to put it "a little" stronger than Marc did,
I remember having entries with BIG numbers way back on VaxVMS V5.something.
If the number grew over 10000 (needing the 5th digit) it suddenly jumped to 1000nnnn.
hth,
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 02:53 AM
01-24-2006 02:53 AM
Re: How to limit entry-numbers to max. 3 digits
Jan wrote:
"If the number grew over 10000 (needing the 5th digit) it suddenly jumped to 1000nnnn."
This is what I have in my notes:
---------
An entry number can be interpreted as follows:
X-QQ-NNNN where NNNN = 0 to 9999, normal entry number range
QQ = 00 to 04, queue manager number (qman id - 1)
X = 0 to 9, to extend 0 to 9999 range
----------
M.Phol,
strictly speaking even changing to 4 digits is incorrect, but likely to work for most environments.
OpenVMS does not 'promiss' any particular range.
The formula above suggests that you should use a free format integer up to 7 positions, but I would probably code for 9 digits.
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 04:29 AM
01-24-2006 04:29 AM
Re: How to limit entry-numbers to max. 3 digits
Proost.
Have one on me.
jpe