Accessing SAS(9.04) from Anaconda

277 Views Asked by At

We are doing a POC to see how to access SAS data sets from Anaconda All documentation i find says only SASpy works with SAS 9.4 or higher

Our SAS version is 9.04.01M3P062415

Can this be done? If yes any documentation in this regard will be highly appreciated

Many thanks in Advance!

1

There are 1 best solutions below

4
On

SAS datasets are ODBC compliant. SasPy is for running SAS code. If the goal is to read SAS datasets, only, use ODBC or OleDb. I do not have Python code but SAS has a lot of documentation on doing this using C#. Install the free SAS ODBC drivers and read the sas7bdat. The drivers are on the SAS website.

Writing it is different but reading should be fine. You will lose some aspects of the dataset but data will come through.