<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to limit entry-numbers to max. 3 digits in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709875#M8907</link>
    <description>Our queue-entry-numbers (VMS V7.3-1) counts up to 4 digits. How can I limit the queue-numbers to 3 digits only.&lt;BR /&gt;thanks a lot for any help in advance</description>
    <pubDate>Mon, 16 Jan 2006 08:38:46 GMT</pubDate>
    <dc:creator>M.Pohl</dc:creator>
    <dc:date>2006-01-16T08:38:46Z</dc:date>
    <item>
      <title>How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709875#M8907</link>
      <description>Our queue-entry-numbers (VMS V7.3-1) counts up to 4 digits. How can I limit the queue-numbers to 3 digits only.&lt;BR /&gt;thanks a lot for any help in advance</description>
      <pubDate>Mon, 16 Jan 2006 08:38:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709875#M8907</guid>
      <dc:creator>M.Pohl</dc:creator>
      <dc:date>2006-01-16T08:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709876#M8908</link>
      <description>You need to rewrite the queue system, really!&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;If you need to go back to 1..1000, I am afraid you have to reinitialize the queue database.</description>
      <pubDate>Mon, 16 Jan 2006 08:47:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709876#M8908</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2006-01-16T08:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709877#M8909</link>
      <description>queue entry numbers are supposed to be treated as a opaque integer value, that is you are not supposed to make any assumptions about the range or sequence of values.&lt;BR /&gt;&lt;BR /&gt;Why do you want do limit the entry number to 3 digits?</description>
      <pubDate>Mon, 16 Jan 2006 09:25:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709877#M8909</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2006-01-16T09:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709878#M8910</link>
      <description>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. But as sson as you have more then 1000 jobs it will go after it again.&lt;BR /&gt;However if you use this number for something it WILL always pass the number 1000 which obviously is a 4 digit number.&lt;BR /&gt;So, as Ian suggested, you have to treat this number as an integer, not as a 3-digit number.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Marc</description>
      <pubDate>Tue, 17 Jan 2006 01:32:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709878#M8910</guid>
      <dc:creator>Marc Van den Broeck</dc:creator>
      <dc:date>2006-01-17T01:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709879#M8911</link>
      <description>M.Pohl,&lt;BR /&gt;&lt;BR /&gt;I concur, treating the queue entry number as anything other than an opaque integer will cause a problem sooner or later.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Tue, 17 Jan 2006 07:36:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709879#M8911</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2006-01-17T07:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709880#M8912</link>
      <description>Thanks all for the answers, but the problem is, the customer has a lot of scripts which ask the entry numbers only with 3 digits.&lt;BR /&gt;The customer dont like to chance all the scripts.&lt;BR /&gt;If I delete and create the queue,it will be start count with jobnumber 1?&lt;BR /&gt;Which is the best solution for the customer?&lt;BR /&gt;Or is there no way to change the scripts to 4 digits?&lt;BR /&gt;Thanks for help&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Jan 2006 08:30:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709880#M8912</guid>
      <dc:creator>M.Pohl</dc:creator>
      <dc:date>2006-01-17T08:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709881#M8913</link>
      <description>&amp;gt; Which is the best solution for the customer?&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Tue, 17 Jan 2006 08:37:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709881#M8913</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2006-01-17T08:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709882#M8914</link>
      <description>M.Pohl,&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;If I delete and create the queue,it will be start count with jobnumber 1?&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;deleting the QUEUE does not get rid of the problem, you would need to create a new queue database with START/QUE/MANAGER/NEW&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 17 Jan 2006 09:07:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709882#M8914</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-01-17T09:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709883#M8915</link>
      <description>M.,&lt;BR /&gt;&lt;BR /&gt;First,&lt;BR /&gt;&lt;BR /&gt;WELCOME to the VMS forum!&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;Which is the best solution for the customer?&lt;BR /&gt;Or is there no way to change the scripts to 4 digits?&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;As others have pointed out, there really is no reasonable solution but modifying the scrips.&lt;BR /&gt;Just curious: How did the customer succeed in accumulating "lots of scrips" dealing with 3-digit entry numbers? Did those never de-rail?&lt;BR /&gt;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?&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt; And if it helps to convince your customer, please show them this thread.&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one oon me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 17 Jan 2006 09:25:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709883#M8915</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-01-17T09:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709884#M8916</link>
      <description>Or, do a quick Google search for something like&lt;BR /&gt;&lt;BR /&gt;vms OR openvms queue entry number&lt;BR /&gt;&lt;BR /&gt;and read any of the similar discussions in&lt;BR /&gt;comp.os.vms which date back to 1995, and all&lt;BR /&gt;say the same things.</description>
      <pubDate>Tue, 17 Jan 2006 10:04:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709884#M8916</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-01-17T10:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709885#M8917</link>
      <description>What puzzles me is that if the numbers are being read from the user in DCL scripts, the input cannot be limited to 3 characters -- DCL doesn't have a fixed width field read.  The problem must be with using F$EXTRACT or F$FAO and thinking that there must only be 1-3 digits.  Is this 3 digit limit imposed as some sort of validation of the number?  It would be better to use F$GETQUI to validate an entry number if that is the case.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Robert</description>
      <pubDate>Tue, 17 Jan 2006 12:15:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709885#M8917</guid>
      <dc:creator>Robert_Boyd</dc:creator>
      <dc:date>2006-01-17T12:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709886#M8918</link>
      <description>Marc, I think it's important to correct your statement :-&lt;BR /&gt;&lt;BR /&gt;"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."&lt;BR /&gt;&lt;BR /&gt;This is not actually true (I've tried it in the past).&lt;BR /&gt;&lt;BR /&gt;The only way to reset the numbers back down, as already pointed out, is to initialise the queue database and recreate the queues.&lt;BR /&gt;&lt;BR /&gt;If anyone does find a 'backdoor' method, BTW, I'd love to get rid of our 7-digit entry numbers!&lt;BR /&gt;&lt;BR /&gt;Rob.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jan 2006 06:01:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709886#M8918</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-01-18T06:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709887#M8919</link>
      <description>Hm, unless my memory is corruped, I'd say that _very_ high entry numbers are usually the result of using multiple queue managers.</description>
      <pubDate>Wed, 18 Jan 2006 07:06:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709887#M8919</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2006-01-18T07:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709888#M8920</link>
      <description>No - it's down to an idiot developer sending 5 entries a second to the queue!&lt;BR /&gt;&lt;BR /&gt;Got quite high before we managed to spot it.</description>
      <pubDate>Wed, 18 Jan 2006 07:11:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709888#M8920</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-01-18T07:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709889#M8921</link>
      <description>Robert,&lt;BR /&gt;&lt;BR /&gt;it does work for me, several times.&lt;BR /&gt;My cluster is running OpenVMS V7.2-1 and I used it several times to get rid of the high numbers.&lt;BR /&gt;&lt;BR /&gt;But make sure no print or batch entry, even failed print entries with a number higher than 1000 may exist!&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Marc</description>
      <pubDate>Wed, 18 Jan 2006 07:26:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709889#M8921</guid>
      <dc:creator>Marc Van den Broeck</dc:creator>
      <dc:date>2006-01-18T07:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709890#M8922</link>
      <description>We're Autogen'ing this weekend Marc, so I'll recheck and send the group the findings.&lt;BR /&gt;&lt;BR /&gt;Rob.</description>
      <pubDate>Wed, 18 Jan 2006 07:31:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709890#M8922</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-01-18T07:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709891#M8923</link>
      <description>Just did some testing.&lt;BR /&gt;&lt;BR /&gt;After 9999 it jumps to 1000000.&lt;BR /&gt;&lt;BR /&gt;I deleted the queue and rebooted. Started again at 1. As Marc said.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 18 Jan 2006 08:57:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709891#M8923</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-01-18T08:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709892#M8924</link>
      <description>Although the system resets back to 1, you should find that it will not stop at 9999, but will continue back up to 1000000, because the max number has been altered in the database.&lt;BR /&gt;&lt;BR /&gt;Can you try sending a few thousand jobs ($ SUBMIT SYSLOGIN.LOGIN.COM) and see what the entry numbers go up to?&lt;BR /&gt;&lt;BR /&gt;Thanks, Rob.</description>
      <pubDate>Wed, 18 Jan 2006 09:26:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709892#M8924</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-01-18T09:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709893#M8925</link>
      <description>Test done (testers : don't forget to do diag 7 after to reduce the size of the queue db).&lt;BR /&gt;&lt;BR /&gt;Result : it jumped again. So the reset is done well.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 18 Jan 2006 09:36:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709893#M8925</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-01-18T09:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit entry-numbers to max. 3 digits</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709894#M8926</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Marc</description>
      <pubDate>Wed, 18 Jan 2006 09:37:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-limit-entry-numbers-to-max-3-digits/m-p/3709894#M8926</guid>
      <dc:creator>Marc Van den Broeck</dc:creator>
      <dc:date>2006-01-18T09:37:43Z</dc:date>
    </item>
  </channel>
</rss>

