<?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: SASPy SAS session using Jupyter notebook in Developers</title>
    <link>https://communities.sas.com/t5/Developers/SASPy-SAS-session-using-Jupyter-notebook/m-p/574577#M470</link>
    <description>&lt;P&gt;Yes, you can do that! Just put the SASserssion object as a 'paramter' on the %%SAS as follow, this should work if you have multiple different connections too, to direct the cell to the appropriate connection:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%%SAS sas&lt;/P&gt;
&lt;P&gt;SAS code;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if that worked for you (it should &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jul 2019 14:03:11 GMT</pubDate>
    <dc:creator>sastpw</dc:creator>
    <dc:date>2019-07-18T14:03:11Z</dc:date>
    <item>
      <title>SASPy SAS session using Jupyter notebook</title>
      <link>https://communities.sas.com/t5/Developers/SASPy-SAS-session-using-Jupyter-notebook/m-p/574517#M469</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use Python and SAS together. and have logged into SAS using&amp;nbsp;&lt;/P&gt;&lt;P&gt;sas = saspy.SASsession(cfgname='winiomwin')&lt;/P&gt;&lt;P&gt;Some point, later in my work I am trying to use&amp;nbsp; SAS code directly through&amp;nbsp; %%SAS jupyter notebook magic. However, this is starting a new SAS session.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to use the same session in different cells of Jupyter Notebook as captured in variable sas defined while setting up the session.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sourav&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 11:22:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SASPy-SAS-session-using-Jupyter-notebook/m-p/574517#M469</guid>
      <dc:creator>SouravRoy</dc:creator>
      <dc:date>2019-07-18T11:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: SASPy SAS session using Jupyter notebook</title>
      <link>https://communities.sas.com/t5/Developers/SASPy-SAS-session-using-Jupyter-notebook/m-p/574577#M470</link>
      <description>&lt;P&gt;Yes, you can do that! Just put the SASserssion object as a 'paramter' on the %%SAS as follow, this should work if you have multiple different connections too, to direct the cell to the appropriate connection:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%%SAS sas&lt;/P&gt;
&lt;P&gt;SAS code;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if that worked for you (it should &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 14:03:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SASPy-SAS-session-using-Jupyter-notebook/m-p/574577#M470</guid>
      <dc:creator>sastpw</dc:creator>
      <dc:date>2019-07-18T14:03:11Z</dc:date>
    </item>
  </channel>
</rss>

