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.

Become an Explorer! Join SAS Analytics Explorers to learn and complete challenges that earn rewards!
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.

 

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
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
  • 3029 views
  • 0 likes
  • 4 in conversation