<?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: macro command to check the opcoms and retained on error, that running every 5 mins in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/macro-command-to-check-the-opcoms-and-retained-on-error-that/m-p/7020274#M104387</link>
    <description>&lt;P&gt;&amp;gt; my apologies to confuse you about rep/stat it is a reply and status&lt;BR /&gt;&amp;gt; for the following retained of errors on the batch jobs.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; It is?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; help reply /status&lt;BR /&gt;&lt;BR /&gt;If I wanted information on batch jobs, then I might stick with SHOW&lt;BR /&gt;QUEUE.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] &amp;lt;&amp;lt;its set term by the way, not terminal&amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; help set term&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Is there some actual problem which you are trying to solve?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Still a mystery.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Oct 2018 14:10:24 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2018-10-02T14:10:24Z</dc:date>
    <item>
      <title>macro command to check the opcoms and retained on error, that running every 5 mins</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/macro-command-to-check-the-opcoms-and-retained-on-error-that/m-p/7019552#M104376</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;May I ask if there's a macro command to check&amp;nbsp;the opcoms&amp;nbsp;and retained&amp;nbsp;on error, that running every 5 mins? thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 12:25:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/macro-command-to-check-the-opcoms-and-retained-on-error-that/m-p/7019552#M104376</guid>
      <dc:creator>Masterouch</dc:creator>
      <dc:date>2018-09-25T12:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: macro command to check the opcoms and retained on error, that running every 5 mins</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/macro-command-to-check-the-opcoms-and-retained-on-error-that/m-p/7019558#M104377</link>
      <description>&lt;P&gt;&amp;gt; May I ask if there's a macro command to check the opcoms and retained&lt;BR /&gt;&amp;gt; on error, that running every 5 mins? [...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "a macro command"?&amp;nbsp; "the opcoms"?&amp;nbsp; A queued job can be "retained on&lt;BR /&gt;error".&amp;nbsp; Is that what you're looking for?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HELP SHOW QUEUE /BY_JOB_STATUS&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HELP LEXICALS F$GETQUI&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "running every 5 mins" can be done by a batch job which resubmits&lt;BR /&gt;itself.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 13:55:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/macro-command-to-check-the-opcoms-and-retained-on-error-that/m-p/7019558#M104377</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2018-09-25T13:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: macro command to check the opcoms and retained on error, that running every 5 mins</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/macro-command-to-check-the-opcoms-and-retained-on-error-that/m-p/7019629#M104378</link>
      <description>&lt;P&gt;how about this command to be run every 5 mins.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set ter/bro&lt;BR /&gt;sh bro&lt;BR /&gt;rep/st&lt;BR /&gt;sh que/bat/all/by=r/a&lt;BR /&gt;sh ti&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 07:08:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/macro-command-to-check-the-opcoms-and-retained-on-error-that/m-p/7019629#M104378</guid>
      <dc:creator>Masterouch</dc:creator>
      <dc:date>2018-09-26T07:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: macro command to check the opcoms and retained on error, that running every 5 mins</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/macro-command-to-check-the-opcoms-and-retained-on-error-that/m-p/7019695#M104379</link>
      <description>&lt;P&gt;&amp;gt; set ter/bro&lt;BR /&gt;&amp;gt; sh bro&lt;BR /&gt;&amp;gt; rep/st&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I doubt that these would work (or make sense?) in a batch job, where&lt;BR /&gt;SYS$COMMAND points to a disk, rather than to a controlling terminal&lt;BR /&gt;(which a batch job lacks).&lt;BR /&gt;&lt;BR /&gt;&amp;gt; sh que/bat/all/by=r/a&lt;BR /&gt;&amp;gt; sh ti&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Those should work in a batch job.&amp;nbsp; Your DCL script might end with&lt;BR /&gt;code like the following:&lt;BR /&gt;&lt;BR /&gt;$ cpr = f$environment( "PROCEDURE")&lt;BR /&gt;$ cpr = f$parse( cpr, , , "DEVICE")+ -&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f$parse( cpr, , , "DIRECTORY")+ -&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f$parse( cpr, , , "NAME")+ -&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f$parse( cpr, , , "TYPE")&lt;BR /&gt;$!&lt;BR /&gt;$ submit /noprinter /after = "+00:05:00" 'cpr'&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; General advice: If I were writing a DCL script, I'd spell out the&lt;BR /&gt;keywords instead of trying to find their minimal abbreviations.&amp;nbsp; For&lt;BR /&gt;example, ten minutes after writing "/by=r/a", I would have forgotten&lt;BR /&gt;what it meant.&amp;nbsp; "/BY_JOB_STATUS = ABORTING" would retain its meaning (to&lt;BR /&gt;me) much longer.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 18:37:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/macro-command-to-check-the-opcoms-and-retained-on-error-that/m-p/7019695#M104379</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2018-09-26T18:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: macro command to check the opcoms and retained on error, that running every 5 mins</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/macro-command-to-check-the-opcoms-and-retained-on-error-that/m-p/7019868#M104380</link>
      <description>&lt;P&gt;Hi Steven, thanks for your response I am just new to this environment and I want to enhance my ability in openVMS&lt;/P&gt;&lt;P&gt;some of the commands are&amp;nbsp;addons for me to be able to have a full details/logs when i get back to check.&amp;nbsp;&lt;/P&gt;&lt;P&gt;set ter/bro&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| set terminal/broadcast to enable opcoms messages&amp;nbsp;&lt;/P&gt;&lt;P&gt;sh bro&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp;show broadcast for identification if its enable&amp;nbsp;&lt;BR /&gt;rep/st&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| reply/status for&amp;nbsp;&lt;BR /&gt;sh que/bat/all/by=r/a /full&amp;nbsp; &amp;nbsp; | show queue/batch/all/by=retained/all /full this will have a visibilities to received retained on error in the nodes&lt;BR /&gt;sh ti&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | show time for me is to identify when I run those command&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am trying to figure out on how I will able to run the command by itself running in 5 mins automatically. Can it be possible?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 08:12:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/macro-command-to-check-the-opcoms-and-retained-on-error-that/m-p/7019868#M104380</guid>
      <dc:creator>Masterouch</dc:creator>
      <dc:date>2018-09-28T08:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: macro command to check the opcoms and retained on error, that running every 5 mins</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/macro-command-to-check-the-opcoms-and-retained-on-error-that/m-p/7019957#M104381</link>
      <description>&lt;P&gt;&amp;gt; [...] I am trying to figure out on how I will able to run the command&lt;BR /&gt;&amp;gt; by itself running in 5 mins automatically. Can it be possible?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; The usual way to run commands periodically is a self-resubmitting&lt;BR /&gt;batch job, but commands like "set terminal", which expect to deal with&lt;BR /&gt;some kind of terminal, won't work in a batch environment, where there is&lt;BR /&gt;no terminal.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; If you want to create a terminal (or dedicate some existing terminal)&lt;BR /&gt;to this job, then you should be able to do whatever you want in a DCL&lt;BR /&gt;script with a loop (GOTO) and a delay (WAIT).&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I can understand why something like "SHOW QUEUE [...]" might be&lt;BR /&gt;interesting, but I don't understand what useful information you expect&lt;BR /&gt;to get from something like "REPLY /STATUS".&amp;nbsp; Who (or what?) will be&lt;BR /&gt;looking at the output from these commands?&amp;nbsp; And then what happens?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Is there some actual problem which you are trying to solve?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 21:12:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/macro-command-to-check-the-opcoms-and-retained-on-error-that/m-p/7019957#M104381</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2018-09-28T21:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: macro command to check the opcoms and retained on error, that running every 5 mins</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/macro-command-to-check-the-opcoms-and-retained-on-error-that/m-p/7020257#M104386</link>
      <description>&lt;P&gt;my apologies to confuse you about rep/stat it is a reply and status for the following retained of errors on the batch jobs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The usual way to run commands periodically is a self-resubmitting&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;batch job, but commands like "set terminal", which expect to deal with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;some kind of terminal, won't work in a batch environment, where there is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;no terminal. &amp;lt;&amp;lt;its set term by the way, not terminal&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2018 10:21:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/macro-command-to-check-the-opcoms-and-retained-on-error-that/m-p/7020257#M104386</guid>
      <dc:creator>Masterouch</dc:creator>
      <dc:date>2018-10-02T10:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: macro command to check the opcoms and retained on error, that running every 5 mins</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/macro-command-to-check-the-opcoms-and-retained-on-error-that/m-p/7020274#M104387</link>
      <description>&lt;P&gt;&amp;gt; my apologies to confuse you about rep/stat it is a reply and status&lt;BR /&gt;&amp;gt; for the following retained of errors on the batch jobs.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; It is?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; help reply /status&lt;BR /&gt;&lt;BR /&gt;If I wanted information on batch jobs, then I might stick with SHOW&lt;BR /&gt;QUEUE.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] &amp;lt;&amp;lt;its set term by the way, not terminal&amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; help set term&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Is there some actual problem which you are trying to solve?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Still a mystery.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2018 14:10:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/macro-command-to-check-the-opcoms-and-retained-on-error-that/m-p/7020274#M104387</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2018-10-02T14:10:24Z</dc:date>
    </item>
  </channel>
</rss>

