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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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

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
  • 844 views
  • 0 likes
  • 2 in conversation