<?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 Timeout to SQL Server in Azure in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Timeout-to-SQL-Server-in-Azure/m-p/833185#M329358</link>
    <description>&lt;PRE width="100"&gt;We just added ACCESS to SQL Server on our linux installation.

We installed odbc drivers in linux and we connect to destination database


universal@gu01sasdi.seguros.local:/home/universal&amp;gt;isql InteligenciaComercial17 sql_admin XXXXXXX -v
+---------------------------------------+
| Connected!                            |
|                                       |
| sql-statement                         |
| help [tablename]                      |
| quit                                  |
|                                       |
+---------------------------------------+
SQL&amp;gt;

but when we try to connect using libname from SAS

libname azdescom sqlsvr datasrc=InteligenciaComercial18  schema=UNIPROFIT
                 user=sql_admin password="XXXXX" CONNECTION=SHARED
                 insertbuff=30000 readbuff=20000 trace=yes tracefile="/home/universal/odbc.log";

we got the following error

ERROR: CLI error trying to establish connection: [unixODBC][Microsoft][ODBC Driver 18 for SQL Server]Login timeout expired : 
       [unixODBC][Microsoft][ODBC Driver 18 for SQL Server]TCP Provider: Error code 0x2AF9
ERROR: Error in the LIBNAME statement.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;I just opened a support track with SAS&lt;/P&gt;</description>
    <pubDate>Tue, 13 Sep 2022 16:55:02 GMT</pubDate>
    <dc:creator>osmelbrito</dc:creator>
    <dc:date>2022-09-13T16:55:02Z</dc:date>
    <item>
      <title>Timeout to SQL Server in Azure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Timeout-to-SQL-Server-in-Azure/m-p/833185#M329358</link>
      <description>&lt;PRE width="100"&gt;We just added ACCESS to SQL Server on our linux installation.

We installed odbc drivers in linux and we connect to destination database


universal@gu01sasdi.seguros.local:/home/universal&amp;gt;isql InteligenciaComercial17 sql_admin XXXXXXX -v
+---------------------------------------+
| Connected!                            |
|                                       |
| sql-statement                         |
| help [tablename]                      |
| quit                                  |
|                                       |
+---------------------------------------+
SQL&amp;gt;

but when we try to connect using libname from SAS

libname azdescom sqlsvr datasrc=InteligenciaComercial18  schema=UNIPROFIT
                 user=sql_admin password="XXXXX" CONNECTION=SHARED
                 insertbuff=30000 readbuff=20000 trace=yes tracefile="/home/universal/odbc.log";

we got the following error

ERROR: CLI error trying to establish connection: [unixODBC][Microsoft][ODBC Driver 18 for SQL Server]Login timeout expired : 
       [unixODBC][Microsoft][ODBC Driver 18 for SQL Server]TCP Provider: Error code 0x2AF9
ERROR: Error in the LIBNAME statement.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;I just opened a support track with SAS&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 16:55:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Timeout-to-SQL-Server-in-Azure/m-p/833185#M329358</guid>
      <dc:creator>osmelbrito</dc:creator>
      <dc:date>2022-09-13T16:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Timeout to SQL Server in Azure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Timeout-to-SQL-Server-in-Azure/m-p/833248#M329389</link>
      <description>&lt;P&gt;Have you tested SAS/ACCESS to SQL Server with any other database and does it work? If so then you have a connection-specific problem and Tech Support is your best option so it's great that you have already opened a track.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 20:57:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Timeout-to-SQL-Server-in-Azure/m-p/833248#M329389</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-09-13T20:57:39Z</dc:date>
    </item>
  </channel>
</rss>

