<?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 Running COM in OpenVMS in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/running-com-in-openvms/m-p/4705808#M40732</link>
    <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I just need to know one thing.&lt;BR /&gt;&lt;BR /&gt;If i run a COM , i can redirect the output to some other file.&lt;BR /&gt;For example : abc.com /out = abc.log&lt;BR /&gt;&lt;BR /&gt;Here, only after the COM is completely executed, i am able to see the contents in the output file.&lt;BR /&gt;Is it possible to get the details into the output file while the COM is running ?&lt;BR /&gt;or is it possible to see the output when the COM is running ?</description>
    <pubDate>Wed, 27 Oct 2010 14:27:07 GMT</pubDate>
    <dc:creator>CHANDRASEKARAN S</dc:creator>
    <dc:date>2010-10-27T14:27:07Z</dc:date>
    <item>
      <title>Running COM in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/running-com-in-openvms/m-p/4705808#M40732</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I just need to know one thing.&lt;BR /&gt;&lt;BR /&gt;If i run a COM , i can redirect the output to some other file.&lt;BR /&gt;For example : abc.com /out = abc.log&lt;BR /&gt;&lt;BR /&gt;Here, only after the COM is completely executed, i am able to see the contents in the output file.&lt;BR /&gt;Is it possible to get the details into the output file while the COM is running ?&lt;BR /&gt;or is it possible to see the output when the COM is running ?</description>
      <pubDate>Wed, 27 Oct 2010 14:27:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/running-com-in-openvms/m-p/4705808#M40732</guid>
      <dc:creator>CHANDRASEKARAN S</dc:creator>
      <dc:date>2010-10-27T14:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Running COM in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/running-com-in-openvms/m-p/4705809#M40733</link>
      <description>CHANDRASEKARAN,&lt;BR /&gt;&lt;BR /&gt;an outputfile specified this way is single user, so generally: NO.&lt;BR /&gt;&lt;BR /&gt;If you know in advance in a specific case, you can&lt;BR /&gt;$ SET HOST 0 /LOG   or&lt;BR /&gt;$ SET HOST 0 /LOG=&lt;FILENAME&gt;&lt;BR /&gt;&lt;BR /&gt;Now you log in again, and @ the .com; and you 'll see the output immediately.&lt;BR /&gt;&lt;BR /&gt;The /LOG=file is especially usefull in debugging!&lt;BR /&gt;&lt;BR /&gt;Success.&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;/FILENAME&gt;</description>
      <pubDate>Wed, 27 Oct 2010 14:35:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/running-com-in-openvms/m-p/4705809#M40733</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2010-10-27T14:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Running COM in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/running-com-in-openvms/m-p/4705810#M40734</link>
      <description>&lt;!--!*#--&gt;Perhaps this would do:&lt;BR /&gt;&lt;BR /&gt;$ help pipe examples&lt;BR /&gt;...&lt;BR /&gt;       5.$ ! TEE.COM - command procedure to display/log data flowing through&lt;BR /&gt;          $ !           a pipeline&lt;BR /&gt;          $ ! Usage: @TEE log-file&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;You could use it like this:&lt;BR /&gt;&lt;BR /&gt;$ pipe @abc | @tee abc.log&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Oct 2010 18:22:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/running-com-in-openvms/m-p/4705810#M40734</guid>
      <dc:creator>Graham Burley</dc:creator>
      <dc:date>2010-10-27T18:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Running COM in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/running-com-in-openvms/m-p/4705811#M40735</link>
      <description>Chandrasekaran S,&lt;BR /&gt;&lt;BR /&gt;In addition to SET HOST 0, I suggest that you investigate SPAWN/IN=NL:/OUTPUT=&lt;FILENAME&gt;. Alternatively, use the SUBMIT command to submit a batch job, which will produce a log file.&lt;BR /&gt;&lt;BR /&gt;SET HOST will create a complete terminal session. SUBMIT will create a batch job. Likewise, SPAWN will create a subprocess. All have slightly different semantics, one or more may be more suitable for your situation.&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;&lt;/FILENAME&gt;</description>
      <pubDate>Wed, 27 Oct 2010 19:20:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/running-com-in-openvms/m-p/4705811#M40735</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2010-10-27T19:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Running COM in OpenVMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/running-com-in-openvms/m-p/4705812#M40736</link>
      <description>Yes you can. There are several ways.&lt;BR /&gt;&lt;BR /&gt;Simplest is to execute your procedure as a batch job. You can then use TYPE/TAIL/CONTINUOUS on the log file to see the output as it is generated.&lt;BR /&gt;&lt;BR /&gt;$ SUBMIT ABC&lt;BR /&gt;$ TYPE/TAIL/CONTINUOUS ABC.LOG&lt;BR /&gt;&lt;BR /&gt; Remember that output is at the DCL OUTPUT_RATE granularity, by default 30 seconds. You can change it in the executing procedure with:&lt;BR /&gt;&lt;BR /&gt;$ SET OUTPUT_RATE=:0:5  ! Reduce flush interval to 5 seconds&lt;BR /&gt;&lt;BR /&gt;Another option is to send your output to a shared write file. For example:&lt;BR /&gt;&lt;BR /&gt;$ OPEN/WRITE/SHARE=WRITE MYLOG ABC.LOG&lt;BR /&gt;$ @ABC/OUTPUT=MYLOG&lt;BR /&gt;&lt;BR /&gt;Now, from another process you can update the EOF mark by opening the file with append intent:&lt;BR /&gt;&lt;BR /&gt;$ OPEN/APPEND/SHARE LOG ABC.LOG&lt;BR /&gt;$ CLOSE LOG&lt;BR /&gt;&lt;BR /&gt;You can then TYPE the file up to that point. You need to reexecute the OPEN/APPEND &amp;amp; CLOSE each time you want to update the EOF. Same issue with OUTPUT_RATE.</description>
      <pubDate>Wed, 27 Oct 2010 20:14:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/running-com-in-openvms/m-p/4705812#M40736</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2010-10-27T20:14:39Z</dc:date>
    </item>
  </channel>
</rss>

