10-06-2015 02:02 AM
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 - 126.96.36.199
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.
10-06-2015 04:38 AM
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.
10-06-2015 07:13 PM
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';
10-06-2015 08:16 PM
@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).
10-09-2015 12:51 PM
10-09-2015 07:42 PM - edited 10-09-2015 08:02 PM
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).
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.
D: Use SAS Enterprise Guide on your PC.
And writing down options for you I remembered that Chris Hemmedinger wrote about this in his blog...
10-10-2015 04:22 AM