<?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 Can SAS call a python script in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Can-SAS-call-a-python-script/m-p/259335#M50163</link>
    <description>&lt;P&gt;I have written some SAS code that makes a table I later use in python. Can I have it so if I run the SAS code it will call and execute the Python script and then return to executing the SAS code after Python finishes? If so, how do I set that up?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Mar 2016 12:57:20 GMT</pubDate>
    <dc:creator>dwsmith</dc:creator>
    <dc:date>2016-03-28T12:57:20Z</dc:date>
    <item>
      <title>Can SAS call a python script</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-SAS-call-a-python-script/m-p/259335#M50163</link>
      <description>&lt;P&gt;I have written some SAS code that makes a table I later use in python. Can I have it so if I run the SAS code it will call and execute the Python script and then return to executing the SAS code after Python finishes? If so, how do I set that up?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2016 12:57:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-SAS-call-a-python-script/m-p/259335#M50163</guid>
      <dc:creator>dwsmith</dc:creator>
      <dc:date>2016-03-28T12:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can SAS call a python script</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-SAS-call-a-python-script/m-p/259338#M50164</link>
      <description>&lt;P&gt;If you have the correct set up use an X or %sysexec command. This allows you to pass system commands, so you can create the call to execute your Python script. It can be part of the program so you can keep coding SAS statements after invocation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2016 13:14:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-SAS-call-a-python-script/m-p/259338#M50164</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-28T13:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can SAS call a python script</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-SAS-call-a-python-script/m-p/259340#M50165</link>
      <description>If your site has a license that includes Micro Analysis Service using DS2 seems to be a way forward :&lt;A href="http://support.sas.com/documentation/cdl/en/masag/69037/HTML/default/viewer.htm#p06t3imjjtxzfjn0zgkht30dpjiq.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/masag/69037/HTML/default/viewer.htm#p06t3imjjtxzfjn0zgkht30dpjiq.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If not, if you are able to call your script from a host prompt, you can do the same with SAS, using the X statement or the call system routine.</description>
      <pubDate>Mon, 28 Mar 2016 13:19:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-SAS-call-a-python-script/m-p/259340#M50165</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-03-28T13:19:48Z</dc:date>
    </item>
  </channel>
</rss>

