<?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 help with dcl script in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/help-with-dcl-script/m-p/5083444#M38946</link>
    <description>I need some help writing a dcl script to run on a alpha vmx 7.3-2.&lt;BR /&gt;&lt;BR /&gt;The script needs to wake up every 5 minutes and check if file a.a exists. If it does exist, the script needs to do x, y ,z and then go to sleep again. &lt;BR /&gt;&lt;BR /&gt;I don't know if it would be best (system overhead) just to keep the script active, or have a batch job that re-submits itself every interval.&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.&lt;BR /&gt;&lt;BR /&gt;Any replys</description>
    <pubDate>Sun, 09 Dec 2007 09:44:10 GMT</pubDate>
    <dc:creator>sandyt</dc:creator>
    <dc:date>2007-12-09T09:44:10Z</dc:date>
    <item>
      <title>help with dcl script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/help-with-dcl-script/m-p/5083444#M38946</link>
      <description>I need some help writing a dcl script to run on a alpha vmx 7.3-2.&lt;BR /&gt;&lt;BR /&gt;The script needs to wake up every 5 minutes and check if file a.a exists. If it does exist, the script needs to do x, y ,z and then go to sleep again. &lt;BR /&gt;&lt;BR /&gt;I don't know if it would be best (system overhead) just to keep the script active, or have a batch job that re-submits itself every interval.&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.&lt;BR /&gt;&lt;BR /&gt;Any replys</description>
      <pubDate>Sun, 09 Dec 2007 09:44:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/help-with-dcl-script/m-p/5083444#M38946</guid>
      <dc:creator>sandyt</dc:creator>
      <dc:date>2007-12-09T09:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: help with dcl script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/help-with-dcl-script/m-p/5083445#M38947</link>
      <description>sandyt,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;I don't know if it would be best (system overhead) just to keep the script active, or have a batch job that re-submits itself every interval.&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Usual answer to such questions: "it depends"&lt;BR /&gt;In a cluster, maybe you want failover capability?&lt;BR /&gt;&lt;BR /&gt;But, as a general rule, a "WAIT" in VMS consumes ZERO, where batch recurring jobs DO have their termination processing, and the next job's startup processing.&lt;BR /&gt;&lt;BR /&gt;Bsaed upon cycling through WAIT:&lt;BR /&gt;&lt;BR /&gt;$ ! infinitely looping process&lt;BR /&gt;$loop:&lt;BR /&gt;$ if f$search("absolute_dir_spec:A.A") .nes. ""&lt;BR /&gt;$ then&lt;BR /&gt;$ &lt;PROCESS_X&gt;&lt;BR /&gt;$ &lt;PROCESS_Y&gt;&lt;BR /&gt;$ &lt;PROCESS_Z&gt;&lt;BR /&gt;$ &lt;DELETE_OR_RENAME a.a=""&gt;&lt;BR /&gt;$ endif&lt;BR /&gt;$ wait 0:5&lt;BR /&gt;$ goto loop&lt;BR /&gt;&lt;BR /&gt;-- You will have to fill in x, y, and z processing&lt;BR /&gt;-- You will have to take care that this A.A is not found again in the next loop&lt;BR /&gt;-- I _STRONGLY_ advise to use full-path file specification for (preferably via Concealed Device namings) and avoid/remove any dependency on any value of SET DEFAULT.&lt;BR /&gt;&lt;BR /&gt;Success.&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;/DELETE_OR_RENAME&gt;&lt;/PROCESS_Z&gt;&lt;/PROCESS_Y&gt;&lt;/PROCESS_X&gt;</description>
      <pubDate>Sun, 09 Dec 2007 10:12:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/help-with-dcl-script/m-p/5083445#M38947</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2007-12-09T10:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: help with dcl script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/help-with-dcl-script/m-p/5083446#M38948</link>
      <description>Thanks for the quick reply and example.&lt;BR /&gt;</description>
      <pubDate>Sun, 09 Dec 2007 10:43:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/help-with-dcl-script/m-p/5083446#M38948</guid>
      <dc:creator>sandyt</dc:creator>
      <dc:date>2007-12-09T10:43:00Z</dc:date>
    </item>
  </channel>
</rss>

