Hi I am Vipn.
I am wondering if using SAS on my local desktop, I can define the library from RDC whose information I know is as follows (only an example):
IP Address for RDC - 100.10.100.100
Userid - DOMAIN\Vipin.XYZ
password - xxxxxx@xxx
Path of Library on RDC - C:\Desktop\Data\WORK
Where RDC I am referring to is Remote Desktop Connection.
Please suggest what should be done.
All SAS code gets executed on the SAS server side. You must address filesystems as they are "seen" by your SAS server and you can only access what's accessible from your SAS server. A local C-drive is normally not accessible unless you've shared it on the network and the SAS server has also access to this network.
If your network folks are agreeable, you could get them to set up a network share to the C drive of the RDC PC, for example called C$. Then you could assign a LIBNAME in SAS using a UNC path:
libname RDC '\\RDCPCName\C$\Desktop\Data\WORK';
@Vipin, I think I need more details to help you out.
Local SAS, do you refer to a SAS DMS (aka Foundation) client, or any of the thinner clients, such as Enterprise Guide?
Do you have any SAS server/service on your RDC host? Object/Connect spawner, SAS/SHARE etc...
If you wish to access this location directly from your local PC, have the server admin make a share (and make sure you have the necessary access rights).
What will work depends on your environment. Here some options. Depending on your Server and Laptop environment (eg. "bitness") you need eventually to first create a transport file for data exchange (proc cport/cimport).
http://support.sas.com/documentation/cdl/en/movefile/67439/HTML/default/viewer.htm#p0p45wa0uwhgcan1e...
A: From the SAS Server write the data set to a network drive which is also accessible from your laptop.
B: Download the SAS file using the filename FTP engine
C: Use Remote Library Services. This requires SAS/Connect licensed and installed.
😧 Use SAS Enterprise Guide on your PC.
And writing down options for you I remembered that Chris Hemmedinger wrote about this in his blog...
http://blogs.sas.com/content/sasdummy/2012/12/06/copy-files-in-sas-eg/
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!
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.