BookmarkSubscribeRSS Feed
RahulH
Calcite | Level 5

Hi everyone,

We're running SAS 9.3 on HP-UX. We used to connect to SQL Server 2008 running on Windows as our reporting database. We recently upgraded to SQL Server 2012 after which none of the SAS tools like Enterprise Guide etc are able to connect to SQL Server 2012.

I'd be very grateful for any pointers.

Many thanks!

Rahul

3 REPLIES 3
LinusH
Tourmaline | Level 20

To be able to connect to SQL Server from UNIX, you are using a 3rd party ODBC driver. Have you updated it after the upgrade?

Data never sleeps
jakarman
Barite | Level 11

I guess there is new hardware and new ip-adresses to that new SQL-server?
Start checking you are not blocked by any firewall. That new SQL server should be reachable from your sas server.

Checks doing on the desktop odbc are just telling the new SQL server is working. Nothing about the server connection.

Theare is an ODBC.ini with settings involved with your 3-party  ODBC driver on the server side. (next to check).

That one should be able to verify without using SAS. When everything is working on that level than proceed to using SAS. How far did you come?   

---->-- ja karman --<-----
ChrisHemedinger
Community Manager

Are you using File->Open->OLE DB from SAS Enterprise Guide?  Or are you using the SAS/ACCESS engine for SQL Server via your SAS session?  Either way, you may have connection-string adjustments to make after the upgrade, or you might require an updated driver/data provider.

Testing the basic connection from your PC is simple -- you can do this via EG or even Microsoft Excel (Data->Get External Data).  But if you're relying on the SAS library on the server, then you may need help from your SAS admin and/or DBA to verify the configuration.

Chris

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1503 views
  • 0 likes
  • 4 in conversation