<?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: PIPE cmd failure in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/pipe-cmd-failure/m-p/3352884#M3410</link>
    <description>As John posted, search consume all input stream and read receive eof.&lt;BR /&gt;$ PIPE SHOW SYSTEM | SEARCH SYS$INPUT "ROP__ROP5" | (READ SYS$INPUT X ; DEFINE/JOB ROP_INFO &amp;amp;X )&lt;BR /&gt;works fine for me.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 10 Aug 2004 01:54:55 GMT</pubDate>
    <dc:creator>Antoniov.</dc:creator>
    <dc:date>2004-08-10T01:54:55Z</dc:date>
    <item>
      <title>PIPE cmd failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pipe-cmd-failure/m-p/3352882#M3408</link>
      <description>Can someone tell me why the following fails:&lt;BR /&gt;&lt;BR /&gt;$ PIPE    SHOW SYSTEM | -&lt;BR /&gt;   ( SEARCH SYS$INPUT "ROP___ROP5" ; -&lt;BR /&gt;     READ SYS$INPUT X ; -&lt;BR /&gt;     DEFINE/JOB ROP_INFO &amp;amp;X )&lt;BR /&gt;0000E809 ROP___ROP5      LEF      6   127308   0 00:01:10.45       719   1047   &lt;BR /&gt;%RMS-E-EOF, end of file detected&lt;BR /&gt;&lt;BR /&gt;The output shows that the SEARCH cmd is&lt;BR /&gt;successful, but the READ cmd is failing.&lt;BR /&gt;I've tried substituing SYS$PIPE for SYS$INPUT&lt;BR /&gt;with the same results.&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Aug 2004 17:20:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pipe-cmd-failure/m-p/3352882#M3408</guid>
      <dc:creator>Jack Trachtman</dc:creator>
      <dc:date>2004-08-09T17:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: PIPE cmd failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pipe-cmd-failure/m-p/3352883#M3409</link>
      <description>Jack,&lt;BR /&gt;&lt;BR /&gt;  I prefer to see "SYS$PIPE" to make commands clearer, but that's not your problem. The trouble is SEARCH and READ are in the same pipeline, so SEARCH will exhaust the input stream and READ will see EOF (exactly as reported).&lt;BR /&gt;&lt;BR /&gt;  I think what you really mean is for the READ to see the output of the SEARCH, so the command should be:&lt;BR /&gt;&lt;BR /&gt;$ PIPE SHOW SYSTEM | -&lt;BR /&gt;  SEARCH SYS$PIPE "ROP___ROP5" | -&lt;BR /&gt;  ( READ SYS$PIPE X ; -&lt;BR /&gt;    DEFINE/JOB ROP_INFO &amp;amp;X )&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Aug 2004 20:44:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pipe-cmd-failure/m-p/3352883#M3409</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-08-09T20:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: PIPE cmd failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pipe-cmd-failure/m-p/3352884#M3410</link>
      <description>As John posted, search consume all input stream and read receive eof.&lt;BR /&gt;$ PIPE SHOW SYSTEM | SEARCH SYS$INPUT "ROP__ROP5" | (READ SYS$INPUT X ; DEFINE/JOB ROP_INFO &amp;amp;X )&lt;BR /&gt;works fine for me.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Aug 2004 01:54:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pipe-cmd-failure/m-p/3352884#M3410</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-08-10T01:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: PIPE cmd failure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pipe-cmd-failure/m-p/3352885#M3411</link>
      <description>Jack,&lt;BR /&gt;&lt;BR /&gt;....and as far I know, this behavior is excactly the same as it would have been on any *IX system: once you HAVE read a pipe, there is nothing there anymore until some new info is sent, but NO info will be available for processing twice! If you need it twice, just present it again to another data stream. (might just be another pipe, as in the above).&lt;BR /&gt;&lt;BR /&gt;Jan</description>
      <pubDate>Tue, 10 Aug 2004 06:38:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pipe-cmd-failure/m-p/3352885#M3411</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2004-08-10T06:38:08Z</dc:date>
    </item>
  </channel>
</rss>

