<?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: Executing .exe file thru SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Executing-exe-file-thru-SAS/m-p/332154#M74739</link>
    <description>&lt;P&gt;Thank U&lt;/P&gt;</description>
    <pubDate>Mon, 13 Feb 2017 13:07:57 GMT</pubDate>
    <dc:creator>Tushh</dc:creator>
    <dc:date>2017-02-13T13:07:57Z</dc:date>
    <item>
      <title>Executing .exe file thru SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Executing-exe-file-thru-SAS/m-p/332121#M74725</link>
      <description>&lt;P&gt;1) How to call .exe file in SAS&amp;nbsp;9.4?&amp;nbsp;OR SAS&amp;nbsp;Enterprise Guide?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 10:46:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Executing-exe-file-thru-SAS/m-p/332121#M74725</guid>
      <dc:creator>Tushh</dc:creator>
      <dc:date>2017-02-13T10:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Executing .exe file thru SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Executing-exe-file-thru-SAS/m-p/332122#M74726</link>
      <description>&lt;P&gt;Call execute, call system or X statement.&lt;/P&gt;
&lt;P&gt;For Enterprise Guide (or any other workspace server enabled SAS session), you need ALLOWXCMD option to be set.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 10:52:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Executing-exe-file-thru-SAS/m-p/332122#M74726</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-02-13T10:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Executing .exe file thru SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Executing-exe-file-thru-SAS/m-p/332124#M74728</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition and if you want to retrieve the output of that command you could use the pipe feature.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
     infile '&amp;lt;myfile.exe&amp;gt;' pipe;
     input; * read from output;
     putlog _infile_; * show it in the log;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Daniel Santos&amp;nbsp;@ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 11:07:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Executing-exe-file-thru-SAS/m-p/332124#M74728</guid>
      <dc:creator>DanielSantos</dc:creator>
      <dc:date>2017-02-13T11:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Executing .exe file thru SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Executing-exe-file-thru-SAS/m-p/332129#M74732</link>
      <description>&lt;P&gt;To expand on &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13832"&gt;@DanielSantos&lt;/a&gt;'s example, I'd use this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
     infile '&amp;lt;myfile.exe&amp;gt; 2&amp;gt;&amp;amp;1' pipe;
     input; * read from output;
     putlog _infile_; * show it in the log;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The 2&amp;gt;&amp;amp;1 reroutes stderr output to stdout, and so &lt;U&gt;all&lt;/U&gt; messages are caught and written to the log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Be aware that you may not be able to do this (or use any of the suggestions) if your SAS workspace server runs on a different machine or even on a different operating system.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 11:31:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Executing-exe-file-thru-SAS/m-p/332129#M74732</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-02-13T11:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Executing .exe file thru SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Executing-exe-file-thru-SAS/m-p/332154#M74739</link>
      <description>&lt;P&gt;Thank U&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 13:07:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Executing-exe-file-thru-SAS/m-p/332154#M74739</guid>
      <dc:creator>Tushh</dc:creator>
      <dc:date>2017-02-13T13:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Executing .exe file thru SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Executing-exe-file-thru-SAS/m-p/332155#M74740</link>
      <description>Thank U</description>
      <pubDate>Mon, 13 Feb 2017 13:08:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Executing-exe-file-thru-SAS/m-p/332155#M74740</guid>
      <dc:creator>Tushh</dc:creator>
      <dc:date>2017-02-13T13:08:10Z</dc:date>
    </item>
  </channel>
</rss>

