BookmarkSubscribeRSS Feed
AnandVyas
Ammonite | Level 13

Hello Community members,

 

I am trying to access SAS dataset using C# code which I am successful using references from this blog post:

https://blogs.sas.com/content/sasdummy/2013/06/09/sas-client-with-microsoft-dot-net/

 

However we want to deploy our C# code to run on Linux Server using .NET Core framework. In this scenario, since there is no COM on Linux box is there any alternative to access SAS data set?

 

Any references to paper or blog would be helpful. 

 

Thanks!

3 REPLIES 3
Ksharp
Super User

is it SAS Viya or

Does your SAS have IOM technology or 

You could try JDBC to read sas dataset or

@ChrisHemedinger  have some ideas .

ChrisHemedinger
Community Manager

Using IOM on a Linux box, you'd have to use the Java interfaces via CORBA.  That's how SASPy works (access to SAS from Python).  @Ksharp is correct - you would probably use JDBC to get to the SAS data.

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!
nlivni
Calcite | Level 5

Hello, we have a similar requirement.  only we just need to parse sas7bdat files in a linux container and nothing more.  We have looked at the SAS Providers for OLE DB but they seem to only be available for windows.  Is there a base image that we can use which has the minimum requirements to parse these files?  We don't really care if its odbc,, jdbc, or anything else that is linux compliant.  Would really appreciate any help.

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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