<?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: String to Symbol on DCL in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831841#M34530</link>
    <description>Albanese,&lt;BR /&gt;&lt;BR /&gt;since you are obiously new to VMS  (Welcome!) there is ONE command that you really should know, and use a lot:&lt;BR /&gt;&lt;BR /&gt;HELP&lt;BR /&gt;&lt;BR /&gt;It is self-explaining.&lt;BR /&gt;&lt;BR /&gt;I hardly qualify as new (20+ years of VMS), but it still is probably my most-used command.&lt;BR /&gt;&lt;BR /&gt;Maybe just play a little with it, and see what at will tell you. More than worth your time!&lt;BR /&gt;&lt;BR /&gt;Proost. (you wrote Cheers, What is the Albanese for it?)&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>Thu, 27 Jul 2006 12:30:38 GMT</pubDate>
    <dc:creator>Jan van den Ende</dc:creator>
    <dc:date>2006-07-27T12:30:38Z</dc:date>
    <item>
      <title>String to Symbol on DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831836#M34525</link>
      <description>Hello everyone.&lt;BR /&gt;&lt;BR /&gt;I need to write a DCl script which takes the output of SHOW DEV D and saves it in a file. this is easy show dev d /output=show. &lt;BR /&gt;&lt;BR /&gt;Now my problem is how to extract value from the output of the command.&lt;BR /&gt;&lt;BR /&gt;Device Device Error Volume    Free   Trans Mnt&lt;BR /&gt;Name   Status Count Label     Blocks Count Cnt&lt;BR /&gt;DSA1:  Mounted   0  SMSC_DATA1 68411499 208  1&lt;BR /&gt;&lt;BR /&gt;i am interested in extracting the value of free memory which in this case is 68411499, assign it to a symbol and compare it with a particular value. &lt;BR /&gt;&lt;BR /&gt;i know how to do it in unix using awk but i am not really familiar with OpenVMS.&lt;BR /&gt;&lt;BR /&gt;i would be grateful if anyone could give any suggestion about this matter.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance. All the best..&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Jul 2006 04:29:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831836#M34525</guid>
      <dc:creator>albanese</dc:creator>
      <dc:date>2006-07-27T04:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: String to Symbol on DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831837#M34526</link>
      <description>Hi albanese&lt;BR /&gt;&lt;BR /&gt;You could just use the lexical function f$getdvi&lt;BR /&gt;&lt;BR /&gt;freeblocks = f$getdvi("dsa1","Freeblocks")&lt;BR /&gt;&lt;BR /&gt;I think that should solve your problem&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Heinz</description>
      <pubDate>Thu, 27 Jul 2006 04:49:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831837#M34526</guid>
      <dc:creator>Heinz W Genhart</dc:creator>
      <dc:date>2006-07-27T04:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: String to Symbol on DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831838#M34527</link>
      <description>Hi albanese&lt;BR /&gt;&lt;BR /&gt;I just recognized, that you are new in this forum and would like to welcome you&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Heinz</description>
      <pubDate>Thu, 27 Jul 2006 04:51:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831838#M34527</guid>
      <dc:creator>Heinz W Genhart</dc:creator>
      <dc:date>2006-07-27T04:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: String to Symbol on DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831839#M34528</link>
      <description>Albanese,&lt;BR /&gt;&lt;BR /&gt;Welcome to the OpenVMS forum on ITRC.&lt;BR /&gt;&lt;BR /&gt;Actually, while you can parse the output of the SHOW DEVICE command, there is a far better way to do things in OpenVMS DCL.&lt;BR /&gt;&lt;BR /&gt;DCL has a series of callable functions, known as lexical functions, that give full access to essentially all of the information available using the SHO DEVICE command. In 1995, I presented a session at the US Fall DECUS symposium entitled &lt;BR /&gt;"DCL Lexical Functions: OpenVMS Jujitsu" (copies of slides available via &lt;A href="http://www.rlgsc.com/decus/usf95/index.html" target="_blank"&gt;http://www.rlgsc.com/decus/usf95/index.html&lt;/A&gt; ) on just such usage.&lt;BR /&gt;&lt;BR /&gt;As a matter of preference, getting information using lexical functions (and system service calls within executable programs) is far preferable to parsing output of commands, which may be enhanced in the future.&lt;BR /&gt;&lt;BR /&gt;I hope that the above is helpful, and once again, welcome to the OpenVMS world and the OpenVMS Forum on ITRC.&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>Thu, 27 Jul 2006 04:58:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831839#M34528</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2006-07-27T04:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: String to Symbol on DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831840#M34529</link>
      <description>Thanks a lot Guys for the quick reply.&lt;BR /&gt;&lt;BR /&gt;I will read about the lexical functions. &lt;BR /&gt;&lt;BR /&gt;Cheers..</description>
      <pubDate>Thu, 27 Jul 2006 05:40:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831840#M34529</guid>
      <dc:creator>albanese</dc:creator>
      <dc:date>2006-07-27T05:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: String to Symbol on DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831841#M34530</link>
      <description>Albanese,&lt;BR /&gt;&lt;BR /&gt;since you are obiously new to VMS  (Welcome!) there is ONE command that you really should know, and use a lot:&lt;BR /&gt;&lt;BR /&gt;HELP&lt;BR /&gt;&lt;BR /&gt;It is self-explaining.&lt;BR /&gt;&lt;BR /&gt;I hardly qualify as new (20+ years of VMS), but it still is probably my most-used command.&lt;BR /&gt;&lt;BR /&gt;Maybe just play a little with it, and see what at will tell you. More than worth your time!&lt;BR /&gt;&lt;BR /&gt;Proost. (you wrote Cheers, What is the Albanese for it?)&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>Thu, 27 Jul 2006 12:30:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831841#M34530</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-07-27T12:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: String to Symbol on DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831842#M34531</link>
      <description>If you want a disk space utility and/or examples of how to use the lexical functions to get disk related info, check dcl.openvms.org.  There are several scripts posted there that should interest you.&lt;BR /&gt;&lt;BR /&gt;There is no need to extract the info from a text display.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom</description>
      <pubDate>Sun, 30 Jul 2006 12:40:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831842#M34531</guid>
      <dc:creator>T. Simpson</dc:creator>
      <dc:date>2006-07-30T12:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: String to Symbol on DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831843#M34532</link>
      <description>Thanks to everyone. &lt;BR /&gt;&lt;BR /&gt;I did it.&lt;BR /&gt;&lt;BR /&gt;Thanks Jan. &lt;BR /&gt;&lt;BR /&gt;The albanian word for Proost is GÃ«zuar .&lt;BR /&gt;&lt;BR /&gt;Have two on me..&lt;BR /&gt;&lt;BR /&gt;Take care. All the best.</description>
      <pubDate>Wed, 02 Aug 2006 03:04:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831843#M34532</guid>
      <dc:creator>albanese</dc:creator>
      <dc:date>2006-08-02T03:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: String to Symbol on DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831844#M34533</link>
      <description>&lt;!--!*#--&gt;GÃ«zuar</description>
      <pubDate>Wed, 02 Aug 2006 03:07:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831844#M34533</guid>
      <dc:creator>albanese</dc:creator>
      <dc:date>2006-08-02T03:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: String to Symbol on DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831845#M34534</link>
      <description>Waww its Gezuar the e is with two dots on top. Anyways thanks again.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Aug 2006 03:09:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/string-to-symbol-on-dcl/m-p/3831845#M34534</guid>
      <dc:creator>albanese</dc:creator>
      <dc:date>2006-08-02T03:09:54Z</dc:date>
    </item>
  </channel>
</rss>

