I'm using SAS 9.3 . How can i conect form Base SAS to SQL server in order to see or import SQL tables into SAS.
proc setinit;
run;
---Base SAS Software
---SAS/STAT
---SAS/GRAPH
---SAS/ETS
---SAS/FSP
---SAS/AF
---SAS/IML
---SAS/CONNECT
---SAS/INSIGHT
---SAS/EIS
---MDDB Server common products
---SAS Enterprise Guide
---SAS/ACCESS Interface to PC Files
---SAS/IML Studio
---SAS Workspace Server for Local Access
Actually, I don't think that the SQL Server engine is supported any more. Users (at least in Windows) are directed to ODBC or OLEDB.
So you need to extend your licence/installation with an ACCESS to ODBC/OLEDB product.
You can use your SAS/ACCESS Interface to PC Files to read and write to a SQL Server database. See the bottom of page 213 of the "SAS/Access 9.4 Interface to PC Files: Reference, Fourth Edition", http://support.sas.com/documentation/cdl/en/acpcref/69731/PDF/default/acpcref.pdf
Paul
I get an
ERROR: Unable to locate pcfserver.exe. Please install PC Files Server.
There are a number of things to setup to establish the link to the database. Here's a post that lists what needs to be done:
Paul
The PC Files Server needs to be installed. It is available as a download from SAS:
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.