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

Hello everyone ,I wnat to use VS C++ to access the SAS dataset ,the method is optional,the simpler is the better,do you know about using ODBC or OLEDB to acess the SAS data,which is easier to reach my goal? Could you provide some references about this to me ? Please help me.Thank you very much.

5 REPLIES 5
LXL
Fluorite | Level 6 LXL
Fluorite | Level 6
Thank you for your reply , do you mean that it is easier to access the SAS dataset with ODBC?
ChrisHemedinger
Community Manager

Use ODBC to connect to a SAS server that is running SAS/Share, which is basically a dedicated process to serve up SAS data.

 

Use OLE DB to connect to a local SAS data set (sas7bdat) using the SAS Local OLE DB provider, or to a remote SAS Workspace running SAS Integration Technologies (same as used by SAS Enterprise Guide).  For the remote case, use the SAS IOM OLE DB provider.  Both are available for download from support.sas.com.

 

See the SAS OLE DB "cookbook".

SAS Innovate 2025: Call for Content! Submit your proposals before Sept 16. Accepted presenters get amazing perks to attend the conference!
LXL
Fluorite | Level 6 LXL
Fluorite | Level 6
OK, I would like to use ODBC to access the SAS dataset , thank you very much.
LXL
Fluorite | Level 6 LXL
Fluorite | Level 6
Could you tell me that what is the easiest method for me to use VC++ to acess SAS dataset? Thank you every 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
  • 5 replies
  • 1366 views
  • 0 likes
  • 3 in conversation