BookmarkSubscribeRSS Feed
Anand_V
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 Hackathon registration is open! Build your skills. Make connections. Enjoy creative freedom. Maybe change the world.
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.

 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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