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.

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.
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.

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 1595 views
  • 0 likes
  • 4 in conversation