<?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 SAS connection to Databricks in Developers</title>
    <link>https://communities.sas.com/t5/Developers/SAS-connection-to-Databricks/m-p/893252#M6425</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;We are using SAS(9.4) in remote linux server and we need to connect the SAS app to the databricks. I've installed saspy in the cluster.&lt;/P&gt;&lt;P&gt;the config setting is here&lt;/P&gt;&lt;PRE&gt;config = '''
SAS_config_names=['l****ty']
loyalty = {'java' : '/usr/bin/java',
'iomhost' : 'lnzlwl*****.lnzl.co.nz',
'iomport' : 18**2,
'authkey' : 'l****ty',
'encoding' : 'latin1'
}
'''&lt;/PRE&gt;&lt;P&gt;I got this error:&lt;/P&gt;&lt;PRE&gt;The application could not log on to the server "lnzl********.lnzl.co.nz:18**2". The machine name is not valid.&lt;/PRE&gt;&lt;P&gt;I am sure about the host and port since I copied from SAS app&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-09-08 at 4.36.18 PM.png" style="width: 328px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87706i722E52ECFBCDA158/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-09-08 at 4.36.18 PM.png" alt="Screenshot 2023-09-08 at 4.36.18 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 08 Sep 2023 04:41:12 GMT</pubDate>
    <dc:creator>MaliShariat</dc:creator>
    <dc:date>2023-09-08T04:41:12Z</dc:date>
    <item>
      <title>SAS connection to Databricks</title>
      <link>https://communities.sas.com/t5/Developers/SAS-connection-to-Databricks/m-p/893252#M6425</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;We are using SAS(9.4) in remote linux server and we need to connect the SAS app to the databricks. I've installed saspy in the cluster.&lt;/P&gt;&lt;P&gt;the config setting is here&lt;/P&gt;&lt;PRE&gt;config = '''
SAS_config_names=['l****ty']
loyalty = {'java' : '/usr/bin/java',
'iomhost' : 'lnzlwl*****.lnzl.co.nz',
'iomport' : 18**2,
'authkey' : 'l****ty',
'encoding' : 'latin1'
}
'''&lt;/PRE&gt;&lt;P&gt;I got this error:&lt;/P&gt;&lt;PRE&gt;The application could not log on to the server "lnzl********.lnzl.co.nz:18**2". The machine name is not valid.&lt;/PRE&gt;&lt;P&gt;I am sure about the host and port since I copied from SAS app&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-09-08 at 4.36.18 PM.png" style="width: 328px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87706i722E52ECFBCDA158/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-09-08 at 4.36.18 PM.png" alt="Screenshot 2023-09-08 at 4.36.18 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 04:41:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-connection-to-Databricks/m-p/893252#M6425</guid>
      <dc:creator>MaliShariat</dc:creator>
      <dc:date>2023-09-08T04:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS connection to Databricks</title>
      <link>https://communities.sas.com/t5/Developers/SAS-connection-to-Databricks/m-p/893398#M6426</link>
      <description>&lt;P&gt;What SAS/ACCESS product are you using to connect to Databricks? SAS/ACCESS to Databricks / ODBC / JDBC? Have you configured the ACCESS product to work with Databricks?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 22:38:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-connection-to-Databricks/m-p/893398#M6426</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-09-08T22:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAS connection to Databricks</title>
      <link>https://communities.sas.com/t5/Developers/SAS-connection-to-Databricks/m-p/893432#M6427</link>
      <description>&lt;P&gt;I am using saspy package to do this connection and do this setting, set the config as above and then run this command:&lt;/P&gt;&lt;PRE&gt;sas = saspy.SASsession()&lt;/PRE&gt;&lt;P&gt;got this error:&lt;/P&gt;&lt;PRE&gt;Using SAS Config named: loyalty
We failed in getConnection
The application could not log on to the server "lnzlwlgs****01.lnzl.co.nz:18592". The machine name is not valid.

SAS process has terminated unexpectedly. Pid State= (1780, 64000)
SAS Connection failed. No connection established. Double check your settings in sascfg_personal.py file.&lt;/PRE&gt;</description>
      <pubDate>Sat, 09 Sep 2023 10:39:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-connection-to-Databricks/m-p/893432#M6427</guid>
      <dc:creator>MaliShariat</dc:creator>
      <dc:date>2023-09-09T10:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAS connection to Databricks</title>
      <link>https://communities.sas.com/t5/Developers/SAS-connection-to-Databricks/m-p/893480#M6428</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The only trouble shooting advice I can give is try to ping the server from the instance this configuration file is being used.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Other than that, try SAS tech support.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It feels like a SAS/ACCESS to ODBC would be easier to setup. But maybe you prefer working with notebooks, even if it's SAS code (or I may misunderstood how this is working)?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Sep 2023 11:49:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-connection-to-Databricks/m-p/893480#M6428</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2023-09-10T11:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAS connection to Databricks</title>
      <link>https://communities.sas.com/t5/Developers/SAS-connection-to-Databricks/m-p/893497#M6429</link>
      <description>&lt;P&gt;Yes, we need to connect to SAS by notebook.&lt;BR /&gt;I've tried to change my configuration and used IP address of server, the type of error is changed, before it said the machine name is incorrect now it said the port is incorrect, could you help me to find how I can find SAS is using which port?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;config = '''
SAS_config_names=['loyalty']
loyalty = {'java' : '/usr/bin/java',
'autoexec'  : 'options filesystem=hfs;',
'iomhost'   : '192.168.**.176',
'iomport'   : 8591,
'authkey'   : 'loyalty',
'appserver' : 'lnzlwlgs****01.lnzl.co.nz'
}
'''&lt;/PRE&gt;</description>
      <pubDate>Sun, 10 Sep 2023 21:09:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-connection-to-Databricks/m-p/893497#M6429</guid>
      <dc:creator>MaliShariat</dc:creator>
      <dc:date>2023-09-10T21:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS connection to Databricks</title>
      <link>https://communities.sas.com/t5/Developers/SAS-connection-to-Databricks/m-p/893508#M6430</link>
      <description>&lt;P&gt;AFAIK, SASPy provides an interface between Python and SAS. When you run Python code in &lt;A href="https://sassoftware.github.io/saspy/" target="_blank" rel="noopener"&gt;SASPy&lt;/A&gt; it is converted into SAS code that runs in your SAS installation. I don't see how this could possibly work with Databricks unless you had a SAS product (like SAS/ACCESS) able to do this, unless I'm completely misunderstanding what's possible.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 00:09:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-connection-to-Databricks/m-p/893508#M6430</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-09-11T00:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: SAS connection to Databricks</title>
      <link>https://communities.sas.com/t5/Developers/SAS-connection-to-Databricks/m-p/893626#M6432</link>
      <description>hosts and ports are defined in metadata. You can see what they are using SMC, or via proc iomoperate:&lt;BR /&gt;&lt;A href="https://sassoftware.github.io/saspy/advanced-topics.html#using-proc-iomoperate-to-find-object-spawner-hosts-and-workspace-server-ports" target="_blank"&gt;https://sassoftware.github.io/saspy/advanced-topics.html#using-proc-iomoperate-to-find-object-spawner-hosts-and-workspace-server-ports&lt;/A&gt;</description>
      <pubDate>Mon, 11 Sep 2023 18:41:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-connection-to-Databricks/m-p/893626#M6432</guid>
      <dc:creator>sastpw</dc:creator>
      <dc:date>2023-09-11T18:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAS connection to Databricks</title>
      <link>https://communities.sas.com/t5/Developers/SAS-connection-to-Databricks/m-p/895063#M6435</link>
      <description>&lt;P&gt;Did you figure out your host and port? Also, you had the `appserver` key in your posted config, with an invalid value. It's not clear you need that, but specifying it with an invalid value will cause a problem. Not seeing the actual errors or output from what you're trying doesn't help. Can you show the code you're submitting and all of the output? Do you still need help with this? Or did you get it working?&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 14:10:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-connection-to-Databricks/m-p/895063#M6435</guid>
      <dc:creator>sastpw</dc:creator>
      <dc:date>2023-09-20T14:10:05Z</dc:date>
    </item>
  </channel>
</rss>

