<?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: submit DCL command question in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/submit-dcl-command-question/m-p/4209828#M89998</link>
    <description>&lt;A href="http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1232913" target="_blank"&gt;http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1232913&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(close the other version of this question please)&lt;BR /&gt;&lt;BR /&gt;Wim</description>
    <pubDate>Tue, 03 Jun 2008 13:48:55 GMT</pubDate>
    <dc:creator>Wim Van den Wyngaert</dc:creator>
    <dc:date>2008-06-03T13:48:55Z</dc:date>
    <item>
      <title>submit DCL command question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submit-dcl-command-question/m-p/4209827#M89997</link>
      <description>Greetings to all ...&lt;BR /&gt;&lt;BR /&gt;I am trying to use the submit command to execute a command procedure once a week on Monday at 3:00 AM.&lt;BR /&gt;&lt;BR /&gt;I am not familiar with the submit command but from what I have read it should look something like this:&lt;BR /&gt;&lt;BR /&gt;$ submit /noprinter/notify/after= ???? -&lt;BR /&gt;DSA20:[MDTSYS.COM]do_some_process.com&lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated!&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Phil</description>
      <pubDate>Tue, 03 Jun 2008 13:46:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submit-dcl-command-question/m-p/4209827#M89997</guid>
      <dc:creator>Phillip Tusa</dc:creator>
      <dc:date>2008-06-03T13:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: submit DCL command question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submit-dcl-command-question/m-p/4209828#M89998</link>
      <description>&lt;A href="http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1232913" target="_blank"&gt;http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1232913&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(close the other version of this question please)&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 03 Jun 2008 13:48:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submit-dcl-command-question/m-p/4209828#M89998</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-06-03T13:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: submit DCL command question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submit-dcl-command-question/m-p/4209829#M89999</link>
      <description>As Wim points out, this and many much similar questions has been asked and answerred before. Please 'google'.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Still, here is a specific, fun, 2-line solution:&lt;BR /&gt;&lt;BR /&gt;$ days = f$loc(f$ext(0,2,f$cvt(0,,"weekday")),"xxSuSaFrThWeTuMo")/2&lt;BR /&gt;$ submit / after = "03:00 +''days'-" x.com&lt;BR /&gt;&lt;BR /&gt;It grabs the leading two characters from the weekday and locates those in a reverse list of (English) week day abbreviations.&lt;BR /&gt;The position found, divided by 2 is the number of days untill the nex Monday.&lt;BR /&gt;&lt;BR /&gt;Submit after 03:00 plus those days.&lt;BR /&gt;&lt;BR /&gt;Note, this of course fails to submit 'that day' if run Monday 00:00 - 03:00&lt;BR /&gt;&lt;BR /&gt;Enjoy!&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jun 2008 03:25:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submit-dcl-command-question/m-p/4209829#M89999</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-06-04T03:25:19Z</dc:date>
    </item>
  </channel>
</rss>

