<?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: Adding Times in a Command Procedure in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/adding-times-in-a-command-procedure/m-p/4888722#M31873</link>
    <description>Doug,&lt;BR /&gt;&lt;BR /&gt;The syntax would be:&lt;BR /&gt;&lt;BR /&gt;$ SUBMIT  filename/AFTER:"dd-mmm-yyyy:hh:mm:ss+deltadays-deltahours:deltaminutes:deltaseconds"&lt;BR /&gt;&lt;BR /&gt;In other words, assuming the file was revised at 1-MAR-2005:16:00:00, and you wanted it to run 15 minutes later, the command would be:&lt;BR /&gt;&lt;BR /&gt;$ SUBMIT filename/AFTER:"1-MAR-2005:16:00:00+0-0:15:00"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
    <pubDate>Tue, 01 Mar 2005 15:09:51 GMT</pubDate>
    <dc:creator>Robert Gezelter</dc:creator>
    <dc:date>2005-03-01T15:09:51Z</dc:date>
    <item>
      <title>Adding Times in a Command Procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/adding-times-in-a-command-procedure/m-p/4888720#M31871</link>
      <description>Is there a good way to add times in a command procedure?  &lt;BR /&gt;&lt;BR /&gt;I want to schedule a procedure to run fifteen minutes after the last revision date on a file.  I get the revision date using F$FILE_ATTRIBUTES, and I can put in the string for fifteen minutes.  The only way I can see to add these times is to convert the parts of the strings to integer and work with those and convert it back.</description>
      <pubDate>Tue, 01 Mar 2005 14:19:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/adding-times-in-a-command-procedure/m-p/4888720#M31871</guid>
      <dc:creator>Doug Raymond</dc:creator>
      <dc:date>2005-03-01T14:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Times in a Command Procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/adding-times-in-a-command-procedure/m-p/4888721#M31872</link>
      <description>Check out "$help dcl date comb"&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;$ write sys$output f$file("tmp.tmp","CDT")&lt;BR /&gt;22-DEC-2004 16:49:54.84&lt;BR /&gt;&lt;BR /&gt;$ write sys$output f$cvtime(f$file("tmp.tmp","CDT"))&lt;BR /&gt;2004-12-22 16:49:54.84&lt;BR /&gt;&lt;BR /&gt;$ write sys$output f$cvtime(f$file("tmp.tmp","CDT"), "absolute")&lt;BR /&gt;22-DEC-2004 16:49:54.84&lt;BR /&gt;&lt;BR /&gt;$ write sys$output f$cvtime(f$file("tmp.tmp","CDT") + "+0 0:15:0","absolute")&lt;BR /&gt;22-DEC-2004 17:04:54.84&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Mar 2005 15:09:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/adding-times-in-a-command-procedure/m-p/4888721#M31872</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-03-01T15:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Times in a Command Procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/adding-times-in-a-command-procedure/m-p/4888722#M31873</link>
      <description>Doug,&lt;BR /&gt;&lt;BR /&gt;The syntax would be:&lt;BR /&gt;&lt;BR /&gt;$ SUBMIT  filename/AFTER:"dd-mmm-yyyy:hh:mm:ss+deltadays-deltahours:deltaminutes:deltaseconds"&lt;BR /&gt;&lt;BR /&gt;In other words, assuming the file was revised at 1-MAR-2005:16:00:00, and you wanted it to run 15 minutes later, the command would be:&lt;BR /&gt;&lt;BR /&gt;$ SUBMIT filename/AFTER:"1-MAR-2005:16:00:00+0-0:15:00"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Tue, 01 Mar 2005 15:09:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/adding-times-in-a-command-procedure/m-p/4888722#M31873</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2005-03-01T15:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Times in a Command Procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/adding-times-in-a-command-procedure/m-p/4888723#M31874</link>
      <description>Thanks.  This appears to be the combination time to which Help and the manuals refer, but do not illustrate.  &lt;BR /&gt;&lt;BR /&gt;I coded the alternative (converting to integer, . . .).  It works, but is it ever UGLY!&lt;BR /&gt;&lt;BR /&gt;Thanks again.</description>
      <pubDate>Tue, 01 Mar 2005 16:48:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/adding-times-in-a-command-procedure/m-p/4888723#M31874</guid>
      <dc:creator>Doug Raymond</dc:creator>
      <dc:date>2005-03-01T16:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Times in a Command Procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/adding-times-in-a-command-procedure/m-p/4888724#M31875</link>
      <description>Your answers give me plenty to work with.  Thanks again.</description>
      <pubDate>Tue, 01 Mar 2005 16:49:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/adding-times-in-a-command-procedure/m-p/4888724#M31875</guid>
      <dc:creator>Doug Raymond</dc:creator>
      <dc:date>2005-03-01T16:49:55Z</dc:date>
    </item>
  </channel>
</rss>

