BookmarkSubscribeRSS Feed
LXL
Fluorite | Level 6 LXL
Fluorite | Level 6

Hello everyone,Could you tell me that what is the easiest method for me to use VC++ to acess SAS dataset? Thank you every much.

4 REPLIES 4
FriedEgg
SAS Employee
ODBC or OLE DB or ADO through IOM... There are many options that come down to preference and specific use case. All these options require SAS access, local or remote. There are open source libraries available that do not require SAS as well as other third-party commercial tools as well.
LXL
Fluorite | Level 6 LXL
Fluorite | Level 6
Hello,where can you find the open source library? I want to use C++ to access the local and remote SAS dataset。 Could you give me some cases? Thank you very much.
FriedEgg
SAS Employee

https://github.com/WizardMac/ReadStat

 

SAS7BDAT is a proprietary data format specific to the SAS platform, so your best option is use some other means.  Either a SAS licensed provider or converting to an open data format that your VC++ program can natively access.

LXL
Fluorite | Level 6 LXL
Fluorite | Level 6

OK,thank you very much.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 4 replies
  • 1100 views
  • 0 likes
  • 2 in conversation