Microsoft Integration with SAS

Using SAS with Microsoft Azure and Microsoft applications
BookmarkSubscribeRSS Feed
JamesPower4
Fluorite | Level 6

I have a large number of SAS datasets that I would like to view (and possibly edit) using Microsoft Access. I can easily see/import Access tables into SAS, but I want to go the "other" way - view the SAS dataset contents while in Access. Screen shots of my SAS ODBC configuration are below. Within Access I select

 

External data -> New data source -> From other sources -> ODBC database

 

Using the wizard I select that I want to link to a SAS dataset that has an index defined. I select the SAS ODBC name (BSR) from the list of machine data sources.

At that point Access invariably crashes.

I have previously been able to see the list of datasets in the SAS BSR folder/library, and select one that has an index. I can't seem to reproduce that, but nonetheless  get I always got an error when I try to open it in Access.

Has anyone had success with this, or can identify what i might be doing wrong?

Using 64 bit Windows 10, 64 bit SAS, and 64 bit Access.

 

Thanks in advance.

 

Jim Power

 

ODBC screenshot 1.PNGODBC screenshot 2.PNGODBC screenshot 3.PNGODBC screenshot 4.PNG

3 REPLIES 3
SASKiwi
PROC Star

Have you chosen the 64-bit SAS ODBC driver? What happens if you select a non-indexed SAS dataset? Try starting SAS manually from a command line with your Local Options as a test.

JamesPower4
Fluorite | Level 6

Hi SASKiwi:

 

Thanks for the quick response. I believe I'm using the correct (64 bit) driver. I opened it using the 64 bit ODBC Administrator, although I think the supplied driver supports both 32 and 64 bit. It lists the platform as 32/64 bit.

 

I did try to connect with a non-indexed SAS dataset, and Access crashed. I also tried starting the server from the command line, and again Access crashed. Those were both great suggestions, and I appreciate your help

 

Thanks again

 

Jim Power

SASKiwi
PROC Star

@JamesPower4  - Appreciate your kind words. I suggest SAS Tech Support is your best option. The problem is there have been a lot of different versions of Access over the years and the same with SAS so figuring out what works with what is a bit of a minefield.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Discussion stats
  • 3 replies
  • 1643 views
  • 0 likes
  • 2 in conversation