<?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 using pycharm IDE and SAS EG to get the server data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SASPY-using-pycharm-IDE-and-SAS-EG-to-get-the-server-data/m-p/666525#M199446</link>
    <description>&lt;P&gt;Have a look at the documentation here&amp;nbsp;&lt;A href="https://sassoftware.github.io/saspy/install.html" target="_blank"&gt;https://sassoftware.github.io/saspy/install.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Ahmed&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jul 2020 02:25:25 GMT</pubDate>
    <dc:creator>AhmedAl_Attar</dc:creator>
    <dc:date>2020-07-02T02:25:25Z</dc:date>
    <item>
      <title>SASPY using pycharm IDE and SAS EG to get the server data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SASPY-using-pycharm-IDE-and-SAS-EG-to-get-the-server-data/m-p/666429#M199389</link>
      <description>&lt;P&gt;I am trying to connect the SAS EG with python to get the server data using this code, but I do not have any luck to connect it. We have window client and with IWA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;pandas&lt;BR /&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;saspy&lt;/PRE&gt;&lt;PRE&gt;winiomIWA = {&lt;SPAN&gt;'java' &lt;/SPAN&gt;: &lt;SPAN&gt;'java'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt; &lt;SPAN&gt;'iomhost' &lt;/SPAN&gt;: &lt;SPAN&gt;'server name'&lt;/SPAN&gt;&lt;SPAN&gt;, --I put my server name in the iomhost&lt;BR /&gt;&lt;/SPAN&gt; &lt;SPAN&gt;'iomport' &lt;/SPAN&gt;: &lt;SPAN&gt;8591&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt; &lt;SPAN&gt;'sspi' &lt;/SPAN&gt;: &lt;SPAN&gt;True&lt;BR /&gt;&lt;/SPAN&gt; }&lt;BR /&gt;&lt;BR /&gt;sas=saspy.SASsession(&lt;SPAN&gt;cfgname&lt;/SPAN&gt;=&lt;SPAN&gt;'winiomIWA)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;But I got this error like this "The SAS Config name specified was not found. Please enter the SAS Config you wish to use."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a new user for python and just want to connect between the two sources so that I can directly import the data from python to SAS EG.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Bikash&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 17:13:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SASPY-using-pycharm-IDE-and-SAS-EG-to-get-the-server-data/m-p/666429#M199389</guid>
      <dc:creator>bikash10</dc:creator>
      <dc:date>2020-07-01T17:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: SASPY using pycharm IDE and SAS EG to get the server data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SASPY-using-pycharm-IDE-and-SAS-EG-to-get-the-server-data/m-p/666525#M199446</link>
      <description>&lt;P&gt;Have a look at the documentation here&amp;nbsp;&lt;A href="https://sassoftware.github.io/saspy/install.html" target="_blank"&gt;https://sassoftware.github.io/saspy/install.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Ahmed&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 02:25:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SASPY-using-pycharm-IDE-and-SAS-EG-to-get-the-server-data/m-p/666525#M199446</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2020-07-02T02:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: SASPY using pycharm IDE and SAS EG to get the server data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SASPY-using-pycharm-IDE-and-SAS-EG-to-get-the-server-data/m-p/668896#M200560</link>
      <description>&lt;P&gt;the cfgname= parameter references a configuration definition name in your config file. Your config name you're specifying is a local variable in your python environment, which is why you're getting that error. The instructions here (&lt;A href="https://sassoftware.github.io/saspy/install.html#configuration" target="_blank"&gt;https://sassoftware.github.io/saspy/install.html#configuration&lt;/A&gt;) explain to create a config file, sascfg_personal.py, with that config definition you've put together so that it will be used to connect.&lt;/P&gt;
&lt;P&gt;The example config file, in the repo (sascfg.py) contains examples of many various configuration definitions anyone might need, depending upon what type of SAS deployment they are trying to connect to.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For your config below, you can create your config file with it, and you would then need this line in there too:&lt;/P&gt;
&lt;P&gt;SAS_config_names=['winiomIWA']&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, your sascfg_persional.py config file could simply be:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;SAS_config_names=['winiomIWA']&lt;BR /&gt;&lt;BR /&gt;winiomIWA = {&lt;SPAN&gt;'java' &lt;/SPAN&gt;: &lt;SPAN&gt;'java'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt; &lt;SPAN&gt;'iomhost' &lt;/SPAN&gt;: &lt;SPAN&gt;'server name'&lt;/SPAN&gt;&lt;SPAN&gt;, # Do put your server name in the iomhost&lt;BR /&gt;&lt;/SPAN&gt; &lt;SPAN&gt;'iomport' &lt;/SPAN&gt;: &lt;SPAN&gt;8591&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt; &lt;SPAN&gt;'sspi' &lt;/SPAN&gt;: &lt;SPAN&gt;True&lt;BR /&gt;&lt;/SPAN&gt; }&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 17:50:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SASPY-using-pycharm-IDE-and-SAS-EG-to-get-the-server-data/m-p/668896#M200560</guid>
      <dc:creator>sastpw</dc:creator>
      <dc:date>2020-07-13T17:50:55Z</dc:date>
    </item>
  </channel>
</rss>

