<?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: How to delete hundreds of queue in pending in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-to-delete-hundreds-of-queue-in-pending/m-p/7204591#M105890</link>
    <description>&lt;P&gt;&amp;gt; [...] I have hundreds of pending queue like this:&lt;BR /&gt;&amp;gt; [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "queue" or queue _entries_ like this?&amp;nbsp; This is output from a command&lt;BR /&gt;like:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; show queue /all your_queue_name&lt;BR /&gt;or what, exactly?&lt;/P&gt;&lt;P&gt;&amp;gt; [...] I tried to stop it and then delete, but I got:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I don't know of a better fast way. so I might try a DCL script which&lt;BR /&gt;enumerates all the jobs of interest, and does "delete /entry = xxx" for&lt;BR /&gt;each of them. Perhaps that would be easy and fast enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; help Lexicals F$GETQUI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; F$GETQUI is rather complicated, and I don't have an example script&lt;BR /&gt;which does exactly what you want, but I do have one which might be&lt;BR /&gt;pretty easy to adapt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://antinode.info/ftp/misc/queue_check.com" target="_blank"&gt;http://antinode.info/ftp/misc/queue_check.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Instead of using "write sys$output" to display the info for each job,&lt;BR /&gt;use "delete /entry = 'entry_nr'" to whack each job.&amp;nbsp; If ALL_JOBS is not&lt;BR /&gt;selective enough, feel free to add more conditions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Have you figured out how to stop adding more of these jobs to the&lt;BR /&gt;queue(s)?&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jan 2024 04:40:08 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2024-01-16T04:40:08Z</dc:date>
    <item>
      <title>How to delete hundreds of queue in pending</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-delete-hundreds-of-queue-in-pending/m-p/7204573#M105889</link>
      <description>&lt;P&gt;Hello community, I'm stuck with an issue on OpenVMS since I have hundreds of pending queue like this:&lt;/P&gt;&lt;P&gt;5009012 NTPSET USER Pending&lt;BR /&gt;5009014 NTPSET USER Pending&lt;BR /&gt;5009016 NTPSET USER Pending&lt;BR /&gt;5009018 NTPSET USER Pending&lt;BR /&gt;5009020 NTPSET USER Pending&lt;BR /&gt;5009022 NTPSET USER Pending&lt;BR /&gt;5009024 NTPSET USER Pending&lt;BR /&gt;5009026 NTPSET USER Pending&lt;BR /&gt;5009028 NTPSET USER Pending&lt;BR /&gt;5009030 NTPSET USER Pending&lt;/P&gt;&lt;P&gt;I count over 100.000 entries and I don't know how to delete it (one by one it's impossible). I tried to stop it and then delete, but I got:&lt;/P&gt;&lt;P&gt;del /queue SMZ1_BATCH&lt;BR /&gt;%DELETE-E-NOTDELETED, error deleting SMZ1_BATCH&lt;BR /&gt;-JBC-E-REFERENCED, existing references prevent deletion&lt;/P&gt;&lt;P&gt;Could someone help me to address this issue ?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Lucas&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 07:06:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-delete-hundreds-of-queue-in-pending/m-p/7204573#M105889</guid>
      <dc:creator>smsc_1</dc:creator>
      <dc:date>2024-01-16T07:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete hundreds of queue in pending</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-delete-hundreds-of-queue-in-pending/m-p/7204591#M105890</link>
      <description>&lt;P&gt;&amp;gt; [...] I have hundreds of pending queue like this:&lt;BR /&gt;&amp;gt; [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "queue" or queue _entries_ like this?&amp;nbsp; This is output from a command&lt;BR /&gt;like:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; show queue /all your_queue_name&lt;BR /&gt;or what, exactly?&lt;/P&gt;&lt;P&gt;&amp;gt; [...] I tried to stop it and then delete, but I got:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I don't know of a better fast way. so I might try a DCL script which&lt;BR /&gt;enumerates all the jobs of interest, and does "delete /entry = xxx" for&lt;BR /&gt;each of them. Perhaps that would be easy and fast enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; help Lexicals F$GETQUI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; F$GETQUI is rather complicated, and I don't have an example script&lt;BR /&gt;which does exactly what you want, but I do have one which might be&lt;BR /&gt;pretty easy to adapt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://antinode.info/ftp/misc/queue_check.com" target="_blank"&gt;http://antinode.info/ftp/misc/queue_check.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Instead of using "write sys$output" to display the info for each job,&lt;BR /&gt;use "delete /entry = 'entry_nr'" to whack each job.&amp;nbsp; If ALL_JOBS is not&lt;BR /&gt;selective enough, feel free to add more conditions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Have you figured out how to stop adding more of these jobs to the&lt;BR /&gt;queue(s)?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 04:40:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-delete-hundreds-of-queue-in-pending/m-p/7204591#M105890</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2024-01-16T04:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete hundreds of queue in pending</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-delete-hundreds-of-queue-in-pending/m-p/7204597#M105891</link>
      <description>&lt;P&gt;Thank you, I ended up to export the whole list, and create the delete commands from bash linux shell, cause I'm not DCL expert.&lt;/P&gt;&lt;P&gt;Now I deleted every entries, but queue wont start:&lt;/P&gt;&lt;P&gt;START/queue SMZ2_BATCH&lt;BR /&gt;%JBC-I-AUTONOTSTART, queue is auto start active, but not started&lt;/P&gt;&lt;P&gt;On the other cluster node everything is ok:&lt;/P&gt;&lt;P&gt;Batch queue SMZ1_BATCH, available, on SMZ1::&lt;/P&gt;&lt;P&gt;Any clue please?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 06:09:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-delete-hundreds-of-queue-in-pending/m-p/7204597#M105891</guid>
      <dc:creator>smsc_1</dc:creator>
      <dc:date>2024-01-16T06:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete hundreds of queue in pending</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-delete-hundreds-of-queue-in-pending/m-p/7204600#M105892</link>
      <description>&lt;P&gt;&amp;gt; %JBC-I-AUTONOTSTART, queue is auto start active, but not started&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; help /message AUTONOTSTART&lt;/P&gt;&lt;P&gt;&amp;gt; [...] I'm not DCL expert.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Documentation abounds at: &lt;A href="https://docs.vmssoftware.com/" target="_blank"&gt;https://docs.vmssoftware.com/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 06:17:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-delete-hundreds-of-queue-in-pending/m-p/7204600#M105892</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2024-01-16T06:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete hundreds of queue in pending</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-delete-hundreds-of-queue-in-pending/m-p/7204608#M105893</link>
      <description>&lt;P&gt;DONE Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 07:03:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-delete-hundreds-of-queue-in-pending/m-p/7204608#M105893</guid>
      <dc:creator>smsc_1</dc:creator>
      <dc:date>2024-01-16T07:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete hundreds of queue in pending</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-delete-hundreds-of-queue-in-pending/m-p/7204782#M105896</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1087756"&gt;@smsc_1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Perfect!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are extremely glad to know your concern has been addressed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 08:39:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-delete-hundreds-of-queue-in-pending/m-p/7204782#M105896</guid>
      <dc:creator>Sunitha_Mod</dc:creator>
      <dc:date>2024-01-18T08:39:01Z</dc:date>
    </item>
  </channel>
</rss>

