<?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: DCL Com Procedure in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932985#M21939</link>
    <description>David&lt;BR /&gt;Form me, the "5th element" was Mila Jovovich, Bruce Willis was only a taxi driver ;-)&lt;BR /&gt;Saludos.&lt;BR /&gt;Daniel.</description>
    <pubDate>Thu, 13 Oct 2005 04:13:33 GMT</pubDate>
    <dc:creator>Daniel Fernandez Illan</dc:creator>
    <dc:date>2005-10-13T04:13:33Z</dc:date>
    <item>
      <title>DCL Com Procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932976#M21930</link>
      <description>Help!  To make the long stoy short, I need to know how I can $extract the current system and concatenate with the name of the file within my VMS com procedure?  I do know how to set the date, month, and year and extract from that, but not sure on how to get the current time.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance.&lt;BR /&gt;&lt;BR /&gt;Ian</description>
      <pubDate>Tue, 11 Oct 2005 23:43:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932976#M21930</guid>
      <dc:creator>Ian Derringer</dc:creator>
      <dc:date>2005-10-11T23:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Com Procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932977#M21931</link>
      <description>Please have a look at the lexical functions F$TIME() and F$CVTIME(), e.g. F$CVTIME(,,"HOUR") gives the current hour etc.&lt;BR /&gt;&lt;BR /&gt;regards Kalle&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Oct 2005 23:53:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932977#M21931</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2005-10-11T23:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Com Procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932978#M21932</link>
      <description>&lt;BR /&gt;John, &lt;BR /&gt;&lt;BR /&gt;Please reread your question and help us further understand what help you seek.&lt;BR /&gt;Give input and output examples as needed.&lt;BR /&gt;Show what works, what does not work.&lt;BR /&gt;Exact errors, code snippets, whatever is needed to clarify the problem please.&lt;BR /&gt;Attach in a text file if needed.&lt;BR /&gt;&lt;BR /&gt;If you indeed want the current system time in a file name then check out something like this:&lt;BR /&gt;&lt;BR /&gt;$ write sys$output f$cvtime()&lt;BR /&gt;2005-10-12 00:54:35.73&lt;BR /&gt;$&lt;BR /&gt;$ time = f$cvtime() -"-"-"-"-" "-":"-":"-"."&lt;BR /&gt;$ show symb time&lt;BR /&gt;  TIME = "2005101200555386"&lt;BR /&gt;$ filename = "test" + time + ".txt"&lt;BR /&gt;$ show symbol filename&lt;BR /&gt;  FILENAME = "test2005101200555386.txt"&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;The above 'subtracts' (removes) the punctuation chars (-- ::.) from the time string. &lt;BR /&gt;&lt;BR /&gt;Check out HELP LEXI F$CVT to see how you can just get other selected fields for a certain time.&lt;BR /&gt;&lt;BR /&gt;Check out HELP LEXI F$EXTR and F$SEGM to see how you can select a chunk of string.&lt;BR /&gt;&lt;BR /&gt;Check out F$TIME() for a basic string with the current time.&lt;BR /&gt;&lt;BR /&gt;Hope this helps some.&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Oct 2005 00:00:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932978#M21932</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-10-12T00:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Com Procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932979#M21933</link>
      <description>Ian,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;$extract the current system and concatenate with the name of the file within my VMS com procedure?&lt;BR /&gt;&lt;BR /&gt;  Not sure I understand your question.&lt;BR /&gt;&lt;BR /&gt;F$GETSYI("NODENAME") returns the name of the system. &lt;BR /&gt;&lt;BR /&gt;F$ENVIRONMENT("PROCEDURE") returns the name of the executing procedure&lt;BR /&gt;&lt;BR /&gt;F$EXTRACT(pos,size,string) returns the substring of "string", "size" characters long starting at position "pos" (first character is position 0).&lt;BR /&gt;&lt;BR /&gt;Hein has covered time strings (but I'm not sure what he's talking about "F$SEGM" - confusing DCL with BASIC?)</description>
      <pubDate>Wed, 12 Oct 2005 00:45:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932979#M21933</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-10-12T00:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Com Procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932980#M21934</link>
      <description>F$ELEMENT, didn't I say F$ELEMENT?&lt;BR /&gt;&lt;BR /&gt;Hein :-)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Oct 2005 06:30:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932980#M21934</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-10-12T06:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Com Procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932981#M21935</link>
      <description>Did you say something about the 5th Element?&lt;BR /&gt;;-)&lt;BR /&gt;&lt;BR /&gt;Proost,&lt;BR /&gt;&lt;BR /&gt;Robert</description>
      <pubDate>Wed, 12 Oct 2005 14:37:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932981#M21935</guid>
      <dc:creator>Robert_Boyd</dc:creator>
      <dc:date>2005-10-12T14:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Com Procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932982#M21936</link>
      <description>The 5th element?&lt;BR /&gt;What is so special about Boron?&lt;BR /&gt;Is computers not mainly about Silicon?&lt;BR /&gt;(trace of the Chemical Engeneer of a former life) &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;</description>
      <pubDate>Wed, 12 Oct 2005 15:14:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932982#M21936</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-10-12T15:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Com Procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932983#M21937</link>
      <description>I think he refers to the hollywood movie 'the 5th element', wasn't it with Mel Gibson?&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Thu, 13 Oct 2005 00:01:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932983#M21937</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2005-10-13T00:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Com Procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932984#M21938</link>
      <description>No, that would be Bruce Willis and Mila Jovovich and Gary Oldman etc.&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Oct 2005 00:25:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932984#M21938</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2005-10-13T00:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Com Procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932985#M21939</link>
      <description>David&lt;BR /&gt;Form me, the "5th element" was Mila Jovovich, Bruce Willis was only a taxi driver ;-)&lt;BR /&gt;Saludos.&lt;BR /&gt;Daniel.</description>
      <pubDate>Thu, 13 Oct 2005 04:13:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932985#M21939</guid>
      <dc:creator>Daniel Fernandez Illan</dc:creator>
      <dc:date>2005-10-13T04:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Com Procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932986#M21940</link>
      <description>Thanks for all the help on this!!</description>
      <pubDate>Thu, 20 Oct 2005 08:22:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-com-procedure/m-p/4932986#M21940</guid>
      <dc:creator>Ian Derringer</dc:creator>
      <dc:date>2005-10-20T08:22:58Z</dc:date>
    </item>
  </channel>
</rss>

