02-23-2017 10:58 PM
I believe OLEDB is an option under Windows but not Unix - you would need SAS/ACCESS to OLEDB for that. I'm fairly sure that SAS/ACCESS to SQL Server also uses ODBC behind the scenes. Why the question? I recommend ODBC with SAS/ACCESS to ODBC as it can be used with a variety of databases.
02-25-2017 12:37 AM
02-25-2017 09:13 AM
03-03-2017 11:33 AM
when running the following query on PS SAS ,EG(Remote) and UNIX with including "rsubmit" statement i am ok :
connect to sqlsvr as mydb (datasrc=DM_UserDB user =xxx password=yyy readbuff=32767);
create table test(compress = no) as select * from connection to mydb
(SELECT COUNT(*) FROM table_name );
disconnect from mydb;
but when running it on UNIX lets say without the "rsubmit" then i get this:
ERROR: The SAS/ACCESS Interface to SQLSRV cannot be loaded. The SASSQSRV code appendage could not be loaded.
ERROR: A Connection to the sqlsvr DBMS is not currently supported, or is not installed at your site.
I thought the ODBC.ini file would take care of that. So why still the need of rsubmit if i am running this on the remote server?
03-03-2017 11:52 AM
With the RSUBMIT, your program is being sent to a different SAS node for processing (exactly which node depends on your SAS/CONNECT and signon statements). It's that node that must have the SQL Server connectors configured and the SAS/ACCESS product installed/licensed.
03-03-2017 11:58 AM - edited 03-03-2017 12:00 PM
but at my previous company we had the databases on oracle and we never used the "rsubmit" statement to make the connections so i am trying to sense whether this does not apply to Oracle or not
or does that mean they might had the sas/access interface to oracle there but they dont have the sas/access to sqlserver here?
Need further help from the community? Please ask a new question.