DATA Step, Macro, Functions and more

remote connect SAS to office server

Accepted Solution Solved
Reply
New Contributor
Posts: 4
Accepted Solution

remote connect SAS to office server

Hello!

 

I have been using rsubmit to connect to the WRDS database for work. Now I've downloaded all the data I need to my office computer. Is it possible for me to use my laptop at home to work on these data through remote connect to my office computer server? Can rsubmit do it?

 

%let wrds = wrds.wharton.upenn.edu 4016;
options comamid=TCP remote=WRDS;
signon username=_prompt_;

rsubmit;

 

This is the code I use to connect to the WRDS server. Can I alter it to connect to my office server instead?

Thanks a lot!

Luca


Accepted Solutions
Solution
‎11-01-2016 11:08 AM
Super User
Super User
Posts: 7,942

Re: remote connect SAS to office server

Thats whats confusing me about your post.  You say you saved the data on the network at the office yes, so you can get to that data by going to a network path, something like:

N:\where\I\store\my\data

or 

\\networks\where\i\store\my\data

Yes?

If so then once you are connected via VPN then in SAS you just point a libname to the network path:

libname want "\\networks\where\i\store\my\data";

To use the data.

View solution in original post


All Replies
Super User
Super User
Posts: 7,942

Re: remote connect SAS to office server

Does your laptop have secutiry rights to access the office network, e.g VPN?  This is more of an IT issue than a SAS thing.  If you download all data locally, then you access that data via:

libame <lib> "<path to data>";

However if it is a network path, then you need the access to it (via VPN).

 

New Contributor
Posts: 4

Re: remote connect SAS to office server

Thanks for getting back to me! I talked to the IT guys in my school and they said yes I would need their authorization but they could do that, they just didn't know how to connect SAS to it once authorized. Is there any specific code like rsubmit?
Solution
‎11-01-2016 11:08 AM
Super User
Super User
Posts: 7,942

Re: remote connect SAS to office server

Thats whats confusing me about your post.  You say you saved the data on the network at the office yes, so you can get to that data by going to a network path, something like:

N:\where\I\store\my\data

or 

\\networks\where\i\store\my\data

Yes?

If so then once you are connected via VPN then in SAS you just point a libname to the network path:

libname want "\\networks\where\i\store\my\data";

To use the data.

New Contributor
Posts: 4

Re: remote connect SAS to office server

OK I see what you mean now! Thanks a lot!
Frequent Contributor
Posts: 136

Re: remote connect SAS to office server

If you want to use your personal laptop then you must be given remote access. First thing is you need to do is contact the IT admins and ask weather you are allowed for remote desktop access. Then can help you out. Probably they may have a document how to do that.

 

In my case we use CITRIX for remote access.

Thanks,
Suryakiran
New Contributor
Posts: 4

Re: remote connect SAS to office server

Posted in reply to SuryaKiran
Thank you! Yes I'll contact the IT guys.
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 6 replies
  • 303 views
  • 0 likes
  • 3 in conversation