03-27-2018 04:01 AM
Thank you for your reply. I want to use vs c++ to access the SAS dataset by using SAS SQL Library for C,but i do not know how to use it .Do you know how to use it ?
03-27-2018 07:37 AM
Can you tell us about your final objective? Are you trying to read a local SAS data set or a remote data set from a SAS server? SAS has packaged two OLE DB data providers -- one for local and one for remote (Integration Technologies). These can be easily incorporated into custom Windows applications. You can use SQL syntax to address/filter data.
See some examples here:
03-28-2018 01:57 AM
hello,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 data,which is easier to reach my goal? Could you provide some references about this to me ? Thank you very much.
03-27-2018 04:08 AM
Find information here: https://support.sas.com/downloads/package.htm?pid=2171
You need a SAS/SHARE and SAS/IntrNet license and a properly set up SAS/SHARE server.
03-27-2018 04:29 AM
03-27-2018 05:16 AM
After installation, I'd go looking for the .h header files and the .a or .so library file(s). Add the path to the library files to your LIBPATH environment variable, so the compiler can pick it up.