<?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 Reflection scripting (RCL) in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/reflection-scripting-rcl/m-p/4032726#M38019</link>
    <description>Hi, I'm running programs on VMS using Reflections and I would like to verify each line of output without having pause my script or lose control of input. I have tried using the variable READHOST but I don't understand how to use it correctly.&lt;BR /&gt;&lt;BR /&gt;Lets say I was doing a DIR and I wanted to verify each line of the output did not contain the text niall.txt until my terminator or variable is found. what could I do? I'm trying something like this: But it is just complete rubish.&lt;BR /&gt;&lt;BR /&gt;let v3 = "Total"&lt;BR /&gt;&lt;BR /&gt;dir sys$sysdevice:[000000]&lt;BR /&gt;&lt;BR /&gt;let v2 = ""&lt;BR /&gt;&lt;BR /&gt;:LOOP&lt;BR /&gt;&lt;BR /&gt;readhost v2 limit 256 until "niall.txt" terminator v3&lt;BR /&gt;&lt;BR /&gt;if v2 = v3&lt;BR /&gt;  goto next&lt;BR /&gt;else&lt;BR /&gt;  goto loop&lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;:next&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I hope someone can help, Thanks Niall.</description>
    <pubDate>Thu, 05 Jul 2007 05:25:52 GMT</pubDate>
    <dc:creator>Niall76</dc:creator>
    <dc:date>2007-07-05T05:25:52Z</dc:date>
    <item>
      <title>Reflection scripting (RCL)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reflection-scripting-rcl/m-p/4032726#M38019</link>
      <description>Hi, I'm running programs on VMS using Reflections and I would like to verify each line of output without having pause my script or lose control of input. I have tried using the variable READHOST but I don't understand how to use it correctly.&lt;BR /&gt;&lt;BR /&gt;Lets say I was doing a DIR and I wanted to verify each line of the output did not contain the text niall.txt until my terminator or variable is found. what could I do? I'm trying something like this: But it is just complete rubish.&lt;BR /&gt;&lt;BR /&gt;let v3 = "Total"&lt;BR /&gt;&lt;BR /&gt;dir sys$sysdevice:[000000]&lt;BR /&gt;&lt;BR /&gt;let v2 = ""&lt;BR /&gt;&lt;BR /&gt;:LOOP&lt;BR /&gt;&lt;BR /&gt;readhost v2 limit 256 until "niall.txt" terminator v3&lt;BR /&gt;&lt;BR /&gt;if v2 = v3&lt;BR /&gt;  goto next&lt;BR /&gt;else&lt;BR /&gt;  goto loop&lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;:next&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I hope someone can help, Thanks Niall.</description>
      <pubDate>Thu, 05 Jul 2007 05:25:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reflection-scripting-rcl/m-p/4032726#M38019</guid>
      <dc:creator>Niall76</dc:creator>
      <dc:date>2007-07-05T05:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reflection scripting (RCL)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reflection-scripting-rcl/m-p/4032727#M38020</link>
      <description>Where did readhost come from?  My reflections help does not return any match on readhost.  Maybe you should look into these other options instead (cut and pasted from Reflections help):&lt;BR /&gt;&lt;BR /&gt;Reading Data from the Host&lt;BR /&gt;&lt;BR /&gt;        ReadChars method&lt;BR /&gt;        ReadLine method&lt;BR /&gt;        ReadUntil method&lt;BR /&gt;&lt;BR /&gt;Waiting for Data From the Host&lt;BR /&gt;&lt;BR /&gt;        Wait method&lt;BR /&gt;        WaitForIncomingData method&lt;BR /&gt;        WaitForHostTrigger method&lt;BR /&gt;        WaitForSilence method&lt;BR /&gt;        WaitForString method&lt;BR /&gt;        WaitForStrings method&lt;BR /&gt;        WaitUntil method&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jul 2007 08:12:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reflection-scripting-rcl/m-p/4032727#M38020</guid>
      <dc:creator>EdgarZamora_1</dc:creator>
      <dc:date>2007-07-05T08:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Reflection scripting (RCL)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reflection-scripting-rcl/m-p/4032728#M38021</link>
      <description>Hi Edgar,&lt;BR /&gt;&lt;BR /&gt;I'm running an old version of reflections (version 5.2). Your examples are not accepted by my version of reflections.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Niall</description>
      <pubDate>Thu, 05 Jul 2007 08:48:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reflection-scripting-rcl/m-p/4032728#M38021</guid>
      <dc:creator>Niall76</dc:creator>
      <dc:date>2007-07-05T08:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reflection scripting (RCL)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reflection-scripting-rcl/m-p/4032729#M38022</link>
      <description>the old wrq support site has been moved to&lt;BR /&gt;&lt;A href="https://download.attachmate.com/upgrades/search.aspx" target="_blank"&gt;https://download.attachmate.com/upgrades/search.aspx&lt;/A&gt;&lt;BR /&gt;search for RCL under Reflection for unix and vms and you get a few examples,&lt;BR /&gt;and these mostly date from older versions&lt;BR /&gt;Phil</description>
      <pubDate>Thu, 05 Jul 2007 19:39:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reflection-scripting-rcl/m-p/4032729#M38022</guid>
      <dc:creator>Phil.Howell</dc:creator>
      <dc:date>2007-07-05T19:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Reflection scripting (RCL)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/reflection-scripting-rcl/m-p/4032730#M38023</link>
      <description>Cheers Phil, &lt;BR /&gt;&lt;BR /&gt;Hopefully there is something in there I can use.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Niall</description>
      <pubDate>Fri, 06 Jul 2007 04:11:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/reflection-scripting-rcl/m-p/4032730#M38023</guid>
      <dc:creator>Niall76</dc:creator>
      <dc:date>2007-07-06T04:11:26Z</dc:date>
    </item>
  </channel>
</rss>

