<?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 Re: Reset Entry numbers in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036639#M85552</link>
    <description>The classic HP response is that the job controller entry number is an opaque longword, and no further assumptions about the value should be made.&lt;BR /&gt;&lt;BR /&gt;On more recent releases, there was a change made to the queue manager to try to compress the range of numbers downward where feasible.  Off the top, I don't remember the ECO and release details that were involved there.&lt;BR /&gt;&lt;BR /&gt;On older releases, the classic approaches were to force-roll the entries back to the low range (basically wrapping the counters), or to brute-force re-create the entries and the whole of the queue database with a start /queue /manager /new.&lt;BR /&gt;&lt;BR /&gt;Darren Boyle posted the following example of wrapping the entries a number of years back, to seek to force the wrapping of the value back to its low range:&lt;BR /&gt;&lt;BR /&gt;$ loop:&lt;BR /&gt;$ set noon&lt;BR /&gt;$ submit/hold login.com&lt;BR /&gt;$ job_no  = $entry&lt;BR /&gt;$ delete/entry=job_no1&lt;BR /&gt;$ submit/hold login.com&lt;BR /&gt;$ job_no1 = $entry&lt;BR /&gt;$ dele/entry= job_no&lt;BR /&gt;$ goto loop &lt;BR /&gt;</description>
    <pubDate>Thu, 12 Jul 2007 15:04:17 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2007-07-12T15:04:17Z</dc:date>
    <item>
      <title>Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036635#M85548</link>
      <description>A runaway process caused our entry numbers to jump from low numbers to very high numbers.  Is there a way to reset the entry numbers to a lower number?  Thanks for any assistance.</description>
      <pubDate>Thu, 12 Jul 2007 13:48:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036635#M85548</guid>
      <dc:creator>owilliams</dc:creator>
      <dc:date>2007-07-12T13:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036636#M85549</link>
      <description>Here is a similar thread that might answer your question:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1097922" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1097922&lt;/A&gt;</description>
      <pubDate>Thu, 12 Jul 2007 14:19:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036636#M85549</guid>
      <dc:creator>Dale A. Marcy</dc:creator>
      <dc:date>2007-07-12T14:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036637#M85550</link>
      <description>owilliams,&lt;BR /&gt;&lt;BR /&gt;3 possible answers.&lt;BR /&gt;&lt;BR /&gt;1. Just wait, they will roll over and then start a 1 again.&lt;BR /&gt;&lt;BR /&gt;2. If you _REALLY_ want to get rid of the large numbers, make an inventory of all queues (and, if really needed, the jobs).&lt;BR /&gt;Stop the queue manager, delete the queue files (well, better rename them away for backup!) and create a new set of que manager files.&lt;BR /&gt;Recreate your queus, and resubmit your jobs.&lt;BR /&gt;&lt;BR /&gt;3. Use the queue reset commands. I do not have them at hand, but will look them up if nobody beats me to it. I do remember that there were some 'interesting' details though.&lt;BR /&gt;&lt;BR /&gt;Finally: both with 2. and with 3. : be prepared for a repeating issue.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;We have also had it happen, we have done the reset once, and next month it was there again.&lt;BR /&gt;&lt;BR /&gt;And, below the line:&lt;BR /&gt;What problem are you trying to solve?&lt;BR /&gt;A little nuisance with big numbers in occasional cases? &lt;BR /&gt;Better just learn to live with it.&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jul 2007 14:32:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036637#M85550</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2007-07-12T14:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036638#M85551</link>
      <description>Is there a way to manually reset the numbers without playing with the queues?</description>
      <pubDate>Thu, 12 Jul 2007 15:03:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036638#M85551</guid>
      <dc:creator>owilliams</dc:creator>
      <dc:date>2007-07-12T15:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036639#M85552</link>
      <description>The classic HP response is that the job controller entry number is an opaque longword, and no further assumptions about the value should be made.&lt;BR /&gt;&lt;BR /&gt;On more recent releases, there was a change made to the queue manager to try to compress the range of numbers downward where feasible.  Off the top, I don't remember the ECO and release details that were involved there.&lt;BR /&gt;&lt;BR /&gt;On older releases, the classic approaches were to force-roll the entries back to the low range (basically wrapping the counters), or to brute-force re-create the entries and the whole of the queue database with a start /queue /manager /new.&lt;BR /&gt;&lt;BR /&gt;Darren Boyle posted the following example of wrapping the entries a number of years back, to seek to force the wrapping of the value back to its low range:&lt;BR /&gt;&lt;BR /&gt;$ loop:&lt;BR /&gt;$ set noon&lt;BR /&gt;$ submit/hold login.com&lt;BR /&gt;$ job_no  = $entry&lt;BR /&gt;$ delete/entry=job_no1&lt;BR /&gt;$ submit/hold login.com&lt;BR /&gt;$ job_no1 = $entry&lt;BR /&gt;$ dele/entry= job_no&lt;BR /&gt;$ goto loop &lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jul 2007 15:04:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036639#M85552</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-07-12T15:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036640#M85553</link>
      <description>Is there any downside to forcing the wrapping of the value back to a lower range of numbers?&lt;BR /&gt;&lt;BR /&gt;Is there any evidence of a high number being a detriment to the system in any way?</description>
      <pubDate>Thu, 12 Jul 2007 15:42:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036640#M85553</guid>
      <dc:creator>owilliams</dc:creator>
      <dc:date>2007-07-12T15:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036641#M85554</link>
      <description>Is there any evidence of a high number being a detriment to the system in any way?&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;&lt;BR /&gt;Only if there is poorly-written software that expects an entry number to be less than a certain value.&lt;BR /&gt;&lt;BR /&gt;The VMS Operating system itself does not have that flaw; your local applications may have that problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-- Rob</description>
      <pubDate>Thu, 12 Jul 2007 15:59:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036641#M85554</guid>
      <dc:creator>Robert Brooks_1</dc:creator>
      <dc:date>2007-07-12T15:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036642#M85555</link>
      <description>I didn't think so but we have some nervous folks at work that thought it might be a problem.</description>
      <pubDate>Thu, 12 Jul 2007 16:19:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036642#M85555</guid>
      <dc:creator>owilliams</dc:creator>
      <dc:date>2007-07-12T16:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036643#M85556</link>
      <description>The appropriate response to &amp;gt;&amp;gt;&amp;gt; I didn't think so but we have some nervous folks at work that thought it might be a problem&amp;lt;&amp;lt;&amp;lt; would seem to involve testing; to run series of big entry numbers into play, and to simply try it.  This testing while you're awake, aware, prepared and ready and not otherwise wondering what just happened when a key application tipped over.</description>
      <pubDate>Thu, 12 Jul 2007 16:45:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036643#M85556</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-07-12T16:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036644#M85557</link>
      <description>You can stop old queue manager and start new with param (/new). After that you must create all queues which you need. on this node. It reset you batch number to number 0</description>
      <pubDate>Fri, 13 Jul 2007 03:37:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036644#M85557</guid>
      <dc:creator>Jiri_5</dc:creator>
      <dc:date>2007-07-13T03:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036645#M85558</link>
      <description>I know of at least one major application which had a problem with this.   Their queue administration module assumed that the entry number would be 4 digits or less.    To make things worse, when the entry#'s jumped from 4 to 7 digits, the module displayed the first 4, making it virtually unusable.   Although the App Vendor is now peddling a new product to replace the old app, there are probably still many clients using the old app.&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Jul 2007 07:20:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036645#M85558</guid>
      <dc:creator>The Brit</dc:creator>
      <dc:date>2007-07-13T07:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036646#M85559</link>
      <description>I ran in to this a year ago, producing entry numbers that in some apps came up as negative numbers :-(.&lt;BR /&gt;On the freeware cd's there was a utility called fixque ( I think by Keith Parris) that dumped the queue database, and parsed out the output of show queue/full etc. Problem was that it couldn't handle the large entrynumbers either :-). So I wrote a dumpqdb.com based on getqui&lt;BR /&gt;that produced an output file with all the commands necessary to create a new queue database.&lt;BR /&gt;&lt;BR /&gt;Couple of things missing : characteristics, we don't use it. ACL's on queue, ditto. /new switch to the start/que/manager command. Probably more, there are a lot of things that we don't use, but are possible.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To use it, create the output file by @dumqdb/out=w.w, then carefully compare w.w to your queues and entries, edit in omissions or additions, add the /new switch to the start/que/manager command. &lt;BR /&gt;Then stop the queumanager, backup, and then rename or delete all queue database files, as they probably have grown beyond any reasonable size and run w.w. You should (almost, right in three tries is my sad motto) be back to normal.&lt;BR /&gt;&lt;BR /&gt;This was all written as an emergency procedure, and it did work 99% in our situation, but this might be different in yours. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jul 2007 13:18:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036646#M85559</guid>
      <dc:creator>SDIH1</dc:creator>
      <dc:date>2007-07-24T13:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036647#M85560</link>
      <description>Jose,&lt;BR /&gt;  can you post that to dcl.openvms.org as well as it looks like it could be useful for somebody.</description>
      <pubDate>Tue, 24 Jul 2007 14:09:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036647#M85560</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2007-07-24T14:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036648#M85561</link>
      <description>I suppose one could locate the longword cell&lt;BR /&gt;where the entry number is kept and stick a &lt;BR /&gt;low value in it. assuming all the jobs are&lt;BR /&gt;high numbers they wouldn't collide.  (I've&lt;BR /&gt;never tried it though)</description>
      <pubDate>Tue, 24 Jul 2007 16:28:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036648#M85561</guid>
      <dc:creator>Dean McGorrill</dc:creator>
      <dc:date>2007-07-24T16:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036649#M85562</link>
      <description>I like having 3-digt entry numbers just for asthetic reasons.  Since we already have command procedures to re-create all queues from scratch, it isn't that big a deal to reset the queue database.&lt;BR /&gt;&lt;BR /&gt;Samba seems to assume job numbers below 10,000, but I think Unix job numbers are per-queue rather than global as in VMS.</description>
      <pubDate>Tue, 24 Jul 2007 19:13:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036649#M85562</guid>
      <dc:creator>David Jones_21</dc:creator>
      <dc:date>2007-07-24T19:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036650#M85563</link>
      <description>A brute force approach to resetting entry numbers. No special privileges required.&lt;BR /&gt;&lt;BR /&gt;The attached procedure submits itself /HOLD, then immediately deletes the entry. It then compares the entry number against a parameter, and if greater, repeats.&lt;BR /&gt;&lt;BR /&gt;If you're in a high range, execute the procedure with a parameter of (say) 10000. It will repeat until the entry number wraps. Provided the number you specify is more than the number of concurrent entry numbers you have, the loop will eventually complete. With a high enough threshold, you could safely run the procedure regularly to make sure your entry numbers don't exceed your limit.&lt;BR /&gt;&lt;BR /&gt;Once the number has wrapped, just wait for the high numbered entries to complete (or resubmit them), and the queue manager should reset itself into the lower range. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ IF p1.EQS."" THEN EXIT&lt;BR /&gt;$ self=F$PARSE(";",F$ENVIRONMENT("PROCEDURE"))&lt;BR /&gt;$ loop:&lt;BR /&gt;$   SUBMIT/HOLD 'self'&lt;BR /&gt;$   DELETEX/ENTRY='$ENTRY'&lt;BR /&gt;$ IF F$INTEGER($ENTRY).GT.F$INTEGER(p1) THEN GOTO loop&lt;BR /&gt;$ EXIT&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jul 2007 19:41:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036650#M85563</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2007-07-24T19:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036651#M85564</link>
      <description>&lt;!--!*#--&gt;Here are my experiences with FIXQUE and dumpqdb.&lt;BR /&gt;&lt;BR /&gt;We have a relatively complex queue database, (1088 total queues. 667 batch queues, of which 153 are generic. Queues with text descriptions, acls, characteristics, many forms and multiple stock types)&lt;BR /&gt;&lt;BR /&gt;The point is, just because something doesn't work for us, does not mean it will not work for you.&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;&lt;BR /&gt;The version of FIXQUE I tested is a modified version that was posted to comp.os.vms to allow it to work better with larger queue entry numbers.&lt;BR /&gt;&lt;BR /&gt;FIXQUE evidently originated in the Colorado Support Center, I've seen versions with Keith Parris and Mark Jilson's comments, so I don't know how it evolved, but it is quite old and probably has the work of many people in it.&lt;BR /&gt;&lt;BR /&gt;FIXQUE works by creating a listing using show queue commands, and parsing the output. This reason alone is enough to make it impossible to recreate an arbitrary set of queue entries.  The thing that caused it to break at our site is an entry that has long quoted parameter values, and these get truncated in the output from show queue/full.   Since FIXQUE gets its information from the listing file,  it cannot reproduce the original entry, although it doesn't detect that the value has been truncated.&lt;BR /&gt;&lt;BR /&gt;FIXQUE does do an admirable job given the limitations of the implementation, i.e. recreating the "state" from only a listing, and doing it using only software on a standard VMS system, i.e. DCL and the standard utilities.&lt;BR /&gt;&lt;BR /&gt;FIXQUE creates a command file that will recreate forms, characteristics, queues (both generic and execution), acls on queues, and the entries that were in the queues at the time it was run.  For jobs that are currently executing, it generates a  SUBMIT /HOLD, since these jobs should be manually verified before allowing them to start over.&lt;BR /&gt;&lt;BR /&gt;It also gives warnings about jobs that reference files that do not exist in any directory.&lt;BR /&gt;&lt;BR /&gt;------------------------------------&lt;BR /&gt;&lt;BR /&gt;dumpqdb (see sdi-1 (Jose Baars, mostly) entry in this thread dated Jul 24, 2007 18:18:03 GMT) command file is attached to entry.&lt;BR /&gt;&lt;BR /&gt;dumpqdb (stated in the note) was written for a specific situation, and as such does not attempt to be as general purpose as FIXQUE.&lt;BR /&gt;&lt;BR /&gt;However, it was written later than FIXQUE, and uses f$getqui to get the information to recreate the queues, which is much less likely to break in the future that attempting to parse the output of a listing.  &lt;BR /&gt;&lt;BR /&gt;I was happy to see that someone had used the more direct approach to gathering the queue information with f$getqui instead of using the more limited output of show queue.&lt;BR /&gt;&lt;BR /&gt;I am glad it was provided, it definitely has potential, and is a good example of what can be done with f$getqui.  It is much smaller than fixque.&lt;BR /&gt;&lt;BR /&gt;The first time I ran the procedure, I got&lt;BR /&gt;&lt;BR /&gt;$ @ROOT$USERS:[JON.SCRATCH]DUMPQDB.COM;1/out=scr:w.w&lt;BR /&gt;%DCL-W-IVVERB, unrecognized command verb - check validity and spelling&lt;BR /&gt; \SAY\&lt;BR /&gt;%DCL-W-IVVERB, unrecognized command verb - check validity and spelling&lt;BR /&gt; \SAY\&lt;BR /&gt;%NONAME-F-NOMSG, Message number 00000004&lt;BR /&gt;$ &lt;BR /&gt;&lt;BR /&gt;I entered &lt;BR /&gt;&lt;BR /&gt;$ say :== write sys$output&lt;BR /&gt;&lt;BR /&gt;and then it got further, but died when it got to a print queue that was defined like this:&lt;BR /&gt;&lt;BR /&gt;$ show queue /full b00acc1&lt;BR /&gt;Printer queue B00ACC1, idle, on SIGMA::"acc-4000tn-1:9100", mounted form DEFAULT&lt;BR /&gt;  &lt;HP 4000tn=""&gt;&lt;BR /&gt;  /AUTOSTART_ON=(SIGMA::"acc-4000tn-1:9100",OMEGA::"acc-4000tn-1:9100") /BASE_PRIORITY=4 /DEFAULT=(FORM=DEFAULT) /LIBRARY=LEXLZ &lt;BR /&gt;  Lowercase /OWNER=[SYSTEM] /PROCESSOR=UCX$TELNETSYM /PROTECTION=(S:M,O:D,G:R,W:S) /SCHEDULE=(NOSIZE)&lt;BR /&gt;         (IDENTIFIER=B00MEM,ACCESS=MANAGE)&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ @ROOT$USERS:[JON.SCRATCH]DUMPQDB.COM;1/out=scr:w.w&lt;BR /&gt;looking at queue B00ACC1&lt;BR /&gt;%DCL-W-IVCHAR, invalid numeric value - check for invalid digits&lt;BR /&gt; \4000TN\&lt;BR /&gt;%NONAME-F-NOMSG, Message number 00000004&lt;BR /&gt;$ &lt;BR /&gt;&lt;BR /&gt;The cause of the confusion is the quoted values, and the way DCL parses quoted strings.&lt;BR /&gt;&lt;BR /&gt;Specifically, the line&lt;BR /&gt;&lt;BR /&gt;$ autonode  = f$getqui("display_queue","autostart_on",qname,"freeze_context")&lt;BR /&gt;&lt;BR /&gt;works, but what is returned in this case has embedded quoted strings.&lt;BR /&gt;&lt;BR /&gt;$ show symbol autonode&lt;BR /&gt;  AUTONODE = "SIGMA::"acc-4000tn-1:9100",OMEGA::"acc-4000tn-1:9100""&lt;BR /&gt;&lt;BR /&gt;Then autonode is used in the following:&lt;BR /&gt;&lt;BR /&gt;$ write sys$error "queue ''qname' has autostart set to ''autostart', autonode = ''autonode', host=''host', node = ''node'"&lt;BR /&gt;&lt;BR /&gt;And when DCL substitution occurs, the following happens:&lt;BR /&gt;&lt;BR /&gt;$ write sys$error "queue B00ACC1 has autostart set to TRUE, autonode = SIGMA::"acc-4000tn-1:9100",OMEGA::"acc-4000tn-1:9100", host="&lt;BR /&gt;acc-4000tn-1:9100", node = SIGMA"&lt;BR /&gt;%DCL-W-IVCHAR, invalid numeric value - check for invalid digits&lt;BR /&gt; \4000TN\&lt;BR /&gt;%NONAME-F-NOMSG, Message number 00000004&lt;BR /&gt;$ &lt;BR /&gt;&lt;BR /&gt;I wish f$edit had a built in edit rule to  process a string so it could be used in a quoted DCL string, e.g. processing the single quotes and double quotes so they will work identically when enclosed in a double quoted string.  I don't know of an easy way to do this in DCL.&lt;BR /&gt;&lt;BR /&gt;For example: (non-implemented)&lt;BR /&gt;&lt;BR /&gt;autonode_for_quoting = f$edit(autonode,"QUOTE_FIXUP") ! this does not exist&lt;BR /&gt;&lt;BR /&gt;would result in &lt;BR /&gt;&lt;BR /&gt;$ show symbol autonode_for_quote&lt;BR /&gt;  AUTONODE_FOR_QUOTE = "SIGMA::""acc-4000tn-1:9100"",OMEGA::""acc-4000tn-1:9100"""&lt;BR /&gt;&lt;BR /&gt;This is where I stopped the testing of dumpqdb, as to get it to work with all the features we are using would be harder than to fix fixque to use f$getqui for the entry parameters.&lt;BR /&gt;&lt;BR /&gt;------------------------------------&lt;BR /&gt;&lt;BR /&gt;The following is probably obvious, but needs saying:&lt;BR /&gt;&lt;BR /&gt;Running any of the tools to recreate the queue database on an active system is somewhat equivalent to backup/ignore=interlock, i.e. the state of the queue can be changing underneath the software that is attempting to reproduce it.&lt;BR /&gt;&lt;BR /&gt;If there are jobs that are going to synchronize on or release other entries using the entry numbers, any software that recreates the database is going to break those.&lt;BR /&gt;&lt;BR /&gt;My point is that if there are a lot of queue entries in your system at the time you recreate it, you are much more likely to have problems than if there are none, and you are just recreating the queues, forms, characteristics etc.&lt;BR /&gt;&lt;/HP&gt;</description>
      <pubDate>Sun, 29 Jul 2007 04:58:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036651#M85564</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2007-07-29T04:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036652#M85565</link>
      <description>There must have been some sort of lunar cycle ... we also had a runaway train this week!  Instead of submitting itself once the next day and carry on with it's task, a coding error looped it back to the submit.  It managed to do this over 148,000 times before someone remarked "the system's a bit slow isn't it?".  Just to note how the entry numbers seemed to go - it looks like it counts up to 9999, increments the million's field and goes again ie. 1000000 - 1009999. I'm not sure if it finally gave out or when I killed the queue_manager and job_cocntrol pids, but it made it up to/over 14,000,000.  Yes it was drastic to kill but the queue manager was solid compute and had crashed on it's own 21 times.  No queue related commands were completing, no jobs were executing.  I had to modify SYS$COMMON:[SYS$STARTUP]VMS$CONFIG-050_JOBCTL.COM to include a larger value for /page_file=3000000 because it was dying with :&lt;BR /&gt;&lt;BR /&gt;%QMAN-F-ALLOCMEM, error allocating virtual memory&lt;BR /&gt;-LIB-F-INSVIRMEM, insufficient virtual memory&lt;BR /&gt;%JBC-E-QMANDEL, unexpected queue manager process termination&lt;BR /&gt;&lt;BR /&gt;Once the queue manager was running again I saw what had happened to the entry numbers - what a mess!  I was able to produce a listing of that queue and it's 148,000+ entries (all waiting to "go" at 22:10!!), learned a keyboard macro to delete the entry, EVE/TPU was able to replay it over 148,000 times (!) and I executed it.  Took about half an hour to delete them all.  Phew!&lt;BR /&gt;&lt;BR /&gt;Not a very good friday on sysadmin day!!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.sysadminday.com/" target="_blank"&gt;http://www.sysadminday.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Art&lt;BR /&gt;&lt;BR /&gt;ps. the "coding error" was NOT mine, I just had to clean it up ;-)</description>
      <pubDate>Sun, 29 Jul 2007 10:15:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036652#M85565</guid>
      <dc:creator>Art Wiens</dc:creator>
      <dc:date>2007-07-29T10:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036653#M85566</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I tried to overcome the fixup quote thing, attached an maybe improved procedure.&lt;BR /&gt;It handles the specific example of the autostart_on nodes, as far as I quickly tested.&lt;BR /&gt;&lt;BR /&gt;In our case the qmanager journal file had eaten up all disk space, so a backup of the queuemanager files was not desirable or even possible. In our case we had to use a tool like this.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Jul 2007 14:21:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036653#M85566</guid>
      <dc:creator>SDIH1</dc:creator>
      <dc:date>2007-07-31T14:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Entry numbers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036654#M85567</link>
      <description>Thanks all, you have been extremely helpful.</description>
      <pubDate>Tue, 31 Jul 2007 14:29:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reset-entry-numbers/m-p/4036654#M85567</guid>
      <dc:creator>owilliams</dc:creator>
      <dc:date>2007-07-31T14:29:29Z</dc:date>
    </item>
  </channel>
</rss>

