<?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: FALHA DE CONEXÃO SAS in SAS Software for Learning Community</title>
    <link>https://communities.sas.com/t5/SAS-Software-for-Learning/FALHA-DE-CONEX%C3%83O-SAS/m-p/866133#M1053</link>
    <description>&lt;P&gt;You have to configure SASPy to know where SAS is and how to connect to it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error:&lt;/P&gt;
&lt;PRE&gt;The OS Error was:
No such file or directory
SAS Connection failed. No connection established. Double check your settings in sascfg_personal.py file.
Attempted to run program /opt/sasinside/SASHome/SASFoundation/9.4/bin/sas_u8 &lt;/PRE&gt;
&lt;P&gt;/opt/tsasinside/SASHomeSASFoundation/9.4/bin/sas_u8 isn't on the machine you're trying to use.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the configuration documentation here:&amp;nbsp;&lt;A href="https://sassoftware.github.io/saspy/configuration.html#" target="_blank"&gt;https://sassoftware.github.io/saspy/configuration.html#&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Mar 2023 14:09:16 GMT</pubDate>
    <dc:creator>sastpw</dc:creator>
    <dc:date>2023-03-24T14:09:16Z</dc:date>
    <item>
      <title>FALHA DE CONEXÃO SAS</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/FALHA-DE-CONEX%C3%83O-SAS/m-p/866009#M1052</link>
      <description>&lt;P&gt;Boa noite! Estou com problemas pra uso do sas com o colab ou jupyter notebook, pois esta aparencendo esse erro abaixo:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;!&lt;/SPAN&gt;&lt;SPAN&gt;pip install saspy&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; saspy&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cheguei a colocar também um parâmetro aqui ( )-&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;cfgname=&lt;/SPAN&gt;&lt;SPAN&gt;'default'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;sas_session = saspy.SASsession&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;()&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;Using SAS Config named: default
The OS Error was:
No such file or directory
SAS Connection failed. No connection established. Double check your settings in sascfg_personal.py file.
Attempted to run program /opt/sasinside/SASHome/SASFoundation/9.4/bin/sas_u8 with the following parameters:['/opt/sasinside/SASHome/SASFoundation/9.4/bin/sas_u8', '-nodms', '-stdio', '-terminal', '-nosyntaxcheck', '-pagesize', 'MAX', '']
If no OS Error above, try running the following command (where saspy is running) manually to see what is wrong:
/opt/sasinside/SASHome/SASFoundation/9.4/bin/sas_u8 -nodms -stdio -terminal -nosyntaxcheck -pagesize MAX  

SAS Connection failed. No connection established. Double check your settings in sascfg_personal.py file.
Attempted to run program /opt/sasinside/SASHome/SASFoundation/9.4/bin/sas_u8 with the following parameters:['/opt/sasinside/SASHome/SASFoundation/9.4/bin/sas_u8', '-nodms', '-stdio', '-terminal', '-nosyntaxcheck', '-pagesize', 'MAX', '']
Try running the following command (where saspy is running) manually to see if you can get more information on what went wrong:
/opt/sasinside/SASHome/SASFoundation/9.4/bin/sas_u8 -nodms -stdio -terminal -nosyntaxcheck -pagesize MAX  

No SAS process attached. SAS process has terminated unexpectedly.
Invalid response from SAS on inital submission. printing the SASLOG as diagnostic

&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;SASIOConnectionError&lt;/SPAN&gt;&lt;SPAN&gt;                      Traceback (most recent call last)&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;PRE&gt;&lt;A href="https://localhost:8080/#" target="_blank" rel="noopener"&gt;&amp;lt;ipython-input-37-96d33f5d856e&amp;gt;&lt;/A&gt;&lt;SPAN&gt; in &lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;module&amp;gt;&lt;/SPAN&gt;
&lt;SPAN&gt;----&amp;gt; 1&lt;/SPAN&gt; &lt;SPAN&gt;sas_session&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;saspy&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;SASsession&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;

&lt;/PRE&gt;&lt;PRE&gt;&lt;A href="https://localhost:8080/#" target="_blank" rel="noopener"&gt;/usr/local/lib/python3.9/dist-packages/saspy/sasbase.py&lt;/A&gt;&lt;SPAN&gt; in &lt;/SPAN&gt;&lt;SPAN&gt;__init__&lt;/SPAN&gt;&lt;SPAN&gt;(self, **kwargs)&lt;/SPAN&gt;
&lt;SPAN&gt;    606&lt;/SPAN&gt; 
&lt;SPAN&gt;    607&lt;/SPAN&gt;            &lt;SPAN&gt;if&lt;/SPAN&gt; &lt;SPAN&gt;failed&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;
&lt;SPAN&gt;--&amp;gt; 608&lt;/SPAN&gt;               &lt;SPAN&gt;raise&lt;/SPAN&gt; &lt;SPAN&gt;SASIOConnectionError&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;res&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;
&lt;SPAN&gt;    609&lt;/SPAN&gt; 
&lt;SPAN&gt;    610&lt;/SPAN&gt;            &lt;SPAN&gt;if&lt;/SPAN&gt; &lt;SPAN&gt;self&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;pyenc&lt;/SPAN&gt; &lt;SPAN&gt;is&lt;/SPAN&gt; &lt;SPAN&gt;not&lt;/SPAN&gt; &lt;SPAN&gt;None&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;

&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;SASIOConnectionError&lt;/SPAN&gt;&lt;SPAN&gt;: Failure establishing SASsession.
No SAS process attached. SAS process has terminated unexpectedly.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 22:15:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/FALHA-DE-CONEX%C3%83O-SAS/m-p/866009#M1052</guid>
      <dc:creator>Romilson</dc:creator>
      <dc:date>2023-03-23T22:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: FALHA DE CONEXÃO SAS</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/FALHA-DE-CONEX%C3%83O-SAS/m-p/866133#M1053</link>
      <description>&lt;P&gt;You have to configure SASPy to know where SAS is and how to connect to it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error:&lt;/P&gt;
&lt;PRE&gt;The OS Error was:
No such file or directory
SAS Connection failed. No connection established. Double check your settings in sascfg_personal.py file.
Attempted to run program /opt/sasinside/SASHome/SASFoundation/9.4/bin/sas_u8 &lt;/PRE&gt;
&lt;P&gt;/opt/tsasinside/SASHomeSASFoundation/9.4/bin/sas_u8 isn't on the machine you're trying to use.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the configuration documentation here:&amp;nbsp;&lt;A href="https://sassoftware.github.io/saspy/configuration.html#" target="_blank"&gt;https://sassoftware.github.io/saspy/configuration.html#&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 14:09:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/FALHA-DE-CONEX%C3%83O-SAS/m-p/866133#M1053</guid>
      <dc:creator>sastpw</dc:creator>
      <dc:date>2023-03-24T14:09:16Z</dc:date>
    </item>
  </channel>
</rss>

