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