BookmarkSubscribeRSS Feed
JoseAlbertoRami
Fluorite | Level 6

Hello Community.

 

I've been wondering how to run sas ondemand for academics from my local. Let's assume we have licenced a sas local machine with sas connect among their licensed products. If you run a proc setinit in sas ondemand for academic you'll see that sas connect is also licensed in this educational sas server. Having said that, my question is, what would be the correct statement to submit from my local machine, I have tried this to no avail:

 

%let OnDemand = hostname.domain.com 8561;

%let myusername = myusername;

options remote = &OnDemand comamid = tcp;

signon OnDemand user = &myusername password = "mypassword";
rsubmit;

endrsubmit;
signoff OnDemand;

 

First, What I would like to know is if the program is correct, and second, what would be the exact hostname.domain.com.

 

When you configure SAS Enterprise Guide On Demand for Academics, the remote hostname is odaomr.oda.sas.com with port 8561, but this does not work from my SAS script.

 

Thank you all!!!

2 REPLIES 2
SASKiwi
PROC Star

The automatic macro system variable SYSHOSTNAME should enable you to find the SAS App server host name.

 

Having said that, simply because SAS/CONNECT is licensed, dosn't mean it will work. You could also try PROC PRODUCT_STATUS. This will tell you if SAS/CONNECT is installed. Also the SAS/CONNECT server / spawner must be running - this is not something you can check for.

 

In addition the SAS server port 8561 must be open to accept traffic from any host, including your PC. From a security point of view this is a major risk so I have my doubts this would be allowed. Then even if it was allowed, the network traffic via this port would be most likely encrypted as good security practice. You would have to know the encryption method to configure your connection correctly.

 

By all means experiment, but my expectation is that this type of use of SAS OnDemand for Academics is not allowed.

LinusH
Tourmaline | Level 20

Port no 8561 is probably for the metadata server, which SAS/CONNECT doesn't use for connections, it uses the port that the SAS Connect spawner is using (in my environment 7541).

 

Perhaps if you can elaborate why you are trying this. If it's for the fun of exploration, I appreciate that.

But perhaps there are other ways to go to accomplish what you need to do.

Data never sleeps

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 956 views
  • 0 likes
  • 3 in conversation