BookmarkSubscribeRSS Feed
osmelbrito
Obsidian | Level 7
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>isql InteligenciaComercial17 sql_admin XXXXXXX -v
+---------------------------------------+
| Connected!                            |
|                                       |
| sql-statement                         |
| help [tablename]                      |
| quit                                  |
|                                       |
+---------------------------------------+
SQL>

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.


 I just opened a support track with SAS

1 REPLY 1
SASKiwi
PROC Star

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.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 504 views
  • 0 likes
  • 2 in conversation