<?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 How to pipe output of vb script from SAS EG in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-pipe-output-of-vb-script-from-SAS-EG/m-p/292759#M60825</link>
    <description>&lt;P&gt;How can I pipe a output of vbs script to a file? I am using below from SAS EG, but doesnt seems to be working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;filename&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ft44f004 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;pipe&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"cscript ""C:\test.vbs""" &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;console&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=min;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Aug 2016 15:20:06 GMT</pubDate>
    <dc:creator>KBACHU</dc:creator>
    <dc:date>2016-08-19T15:20:06Z</dc:date>
    <item>
      <title>How to pipe output of vb script from SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-pipe-output-of-vb-script-from-SAS-EG/m-p/292759#M60825</link>
      <description>&lt;P&gt;How can I pipe a output of vbs script to a file? I am using below from SAS EG, but doesnt seems to be working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;filename&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ft44f004 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;pipe&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"cscript ""C:\test.vbs""" &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;console&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=min;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 15:20:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-pipe-output-of-vb-script-from-SAS-EG/m-p/292759#M60825</guid>
      <dc:creator>KBACHU</dc:creator>
      <dc:date>2016-08-19T15:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to pipe output of vb script from SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-pipe-output-of-vb-script-from-SAS-EG/m-p/292857#M60859</link>
      <description>&lt;P&gt;try the next code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;filename&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ft44f004 &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;pipe&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;nbsp; &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"cscript ""C:\test.vbs""" &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;console&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=min;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;filename out_file '... any path and file name ...';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;data _NULL_;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;nbsp; &amp;nbsp; infile&amp;nbsp;&lt;SPAN&gt;ft44f004 truncover;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; input _infile_; &amp;nbsp;/* _infile_ is a saved word, contains the input buffer */&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; file out_file;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; put _infile_;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;SPAN&gt;Shmuel&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 21:27:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-pipe-output-of-vb-script-from-SAS-EG/m-p/292857#M60859</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2016-08-19T21:27:51Z</dc:date>
    </item>
  </channel>
</rss>

