<?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 Start a SAS session using Jupyter Notebook and SASpy in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Start-a-SAS-session-using-Jupyter-Notebook-and-SASpy/m-p/946413#M10939</link>
    <description>&lt;P&gt;Hello Everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying for sometime to start a SAS session using saspy in Jupyter Notebook. I have went through all troubleshooting and looked at questions posted by others but still I am unable to start a SAS session. Any help would be greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created my sascfg_personal.py file as follows:&lt;/P&gt;&lt;P&gt;SAS_config_names=['oda']&lt;BR /&gt;oda = {'java' : 'C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe',&lt;BR /&gt;#US Home Region 1&lt;BR /&gt;'iomhost' : ['odaws01-usw2.oda.sas.com','odaws02-usw2.oda.sas.com'],&lt;BR /&gt;#US Home Region 2&lt;BR /&gt;#'iomhost' : ['odaws01-usw2-2.oda.sas.com','odaws02-usw2-2.oda.sas.com'],&lt;BR /&gt;#European Home Region 1&lt;BR /&gt;#'iomhost' : ['odaws01-euw1.oda.sas.com','odaws02-euw1.oda.sas.com'],&lt;BR /&gt;#Asia Pacific Home Region 1&lt;BR /&gt;#'iomhost' : ['odaws01-apse1.oda.sas.com','odaws02-apse1.oda.sas.com'],&lt;BR /&gt;#Asia Pacific Home Region 2&lt;BR /&gt;#'iomhost' : ['odaws01-apse1-2.oda.sas.com','odaws02-apse1-2.oda.sas.com'],&lt;BR /&gt;'iomport' : 8591,&lt;BR /&gt;'authkey' : 'oda',&lt;BR /&gt;'encoding' : 'utf-8'&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next, I created the _authoinfo file (made sure .txt was removed):&lt;/P&gt;&lt;P&gt;oda user myusername password mypassword&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, I ran the following code in jupyter notebook:&lt;/P&gt;&lt;P&gt;sas_session = saspy.SASsession()&lt;BR /&gt;sas_session&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I receive the following message:&lt;/P&gt;&lt;PRE&gt;Using SAS Config named: oda
The OS Error was:
The system cannot find the file specified
SAS Connection failed. No connection established. Double check your settings in sascfg_personal.py file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'm thinking something maybe incorrect in my sascfg_personal.py file but I'm not sure what it is, any help would be greatly appreciated. &lt;/PRE&gt;</description>
    <pubDate>Sat, 05 Oct 2024 15:28:29 GMT</pubDate>
    <dc:creator>luvscandy270</dc:creator>
    <dc:date>2024-10-05T15:28:29Z</dc:date>
    <item>
      <title>Start a SAS session using Jupyter Notebook and SASpy</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Start-a-SAS-session-using-Jupyter-Notebook-and-SASpy/m-p/946413#M10939</link>
      <description>&lt;P&gt;Hello Everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying for sometime to start a SAS session using saspy in Jupyter Notebook. I have went through all troubleshooting and looked at questions posted by others but still I am unable to start a SAS session. Any help would be greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created my sascfg_personal.py file as follows:&lt;/P&gt;&lt;P&gt;SAS_config_names=['oda']&lt;BR /&gt;oda = {'java' : 'C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe',&lt;BR /&gt;#US Home Region 1&lt;BR /&gt;'iomhost' : ['odaws01-usw2.oda.sas.com','odaws02-usw2.oda.sas.com'],&lt;BR /&gt;#US Home Region 2&lt;BR /&gt;#'iomhost' : ['odaws01-usw2-2.oda.sas.com','odaws02-usw2-2.oda.sas.com'],&lt;BR /&gt;#European Home Region 1&lt;BR /&gt;#'iomhost' : ['odaws01-euw1.oda.sas.com','odaws02-euw1.oda.sas.com'],&lt;BR /&gt;#Asia Pacific Home Region 1&lt;BR /&gt;#'iomhost' : ['odaws01-apse1.oda.sas.com','odaws02-apse1.oda.sas.com'],&lt;BR /&gt;#Asia Pacific Home Region 2&lt;BR /&gt;#'iomhost' : ['odaws01-apse1-2.oda.sas.com','odaws02-apse1-2.oda.sas.com'],&lt;BR /&gt;'iomport' : 8591,&lt;BR /&gt;'authkey' : 'oda',&lt;BR /&gt;'encoding' : 'utf-8'&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next, I created the _authoinfo file (made sure .txt was removed):&lt;/P&gt;&lt;P&gt;oda user myusername password mypassword&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, I ran the following code in jupyter notebook:&lt;/P&gt;&lt;P&gt;sas_session = saspy.SASsession()&lt;BR /&gt;sas_session&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I receive the following message:&lt;/P&gt;&lt;PRE&gt;Using SAS Config named: oda
The OS Error was:
The system cannot find the file specified
SAS Connection failed. No connection established. Double check your settings in sascfg_personal.py file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'm thinking something maybe incorrect in my sascfg_personal.py file but I'm not sure what it is, any help would be greatly appreciated. &lt;/PRE&gt;</description>
      <pubDate>Sat, 05 Oct 2024 15:28:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Start-a-SAS-session-using-Jupyter-Notebook-and-SASpy/m-p/946413#M10939</guid>
      <dc:creator>luvscandy270</dc:creator>
      <dc:date>2024-10-05T15:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Start a SAS session using Jupyter Notebook and SASpy</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Start-a-SAS-session-using-Jupyter-Notebook-and-SASpy/m-p/946420#M10940</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/470188"&gt;@luvscandy270&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just to double check, do you have Java installed on your machine in the location you are specifying in the SASpy configuration file?&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;'java' : 'C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe'"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Oct 2024 17:19:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Start-a-SAS-session-using-Jupyter-Notebook-and-SASpy/m-p/946420#M10940</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2024-10-05T17:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Start a SAS session using Jupyter Notebook and SASpy</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Start-a-SAS-session-using-Jupyter-Notebook-and-SASpy/m-p/946432#M10941</link>
      <description>&lt;P&gt;Thank you so much!!! That was my issue!!&lt;/P&gt;</description>
      <pubDate>Sat, 05 Oct 2024 21:10:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Start-a-SAS-session-using-Jupyter-Notebook-and-SASpy/m-p/946432#M10941</guid>
      <dc:creator>luvscandy270</dc:creator>
      <dc:date>2024-10-05T21:10:36Z</dc:date>
    </item>
  </channel>
</rss>

