DATA Step, Macro, Functions and more

VC++ access SAS dataset

Reply
Occasional Contributor LXL
Occasional Contributor
Posts: 16

VC++ access SAS dataset

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.

Trusted Advisor
Posts: 1,318

Re: VC++ access SAS dataset

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.
Occasional Contributor LXL
Occasional Contributor
Posts: 16

Re: VC++ access SAS dataset

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.
Trusted Advisor
Posts: 1,318

Re: VC++ access SAS dataset

[ Edited ]

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.

Occasional Contributor LXL
Occasional Contributor
Posts: 16

Re: VC++ access SAS dataset

OK,thank you very much.

Ask a Question
Discussion stats
  • 4 replies
  • 109 views
  • 0 likes
  • 2 in conversation