09-13-2016 12:06 PM
I tried the SAS program using in SAS studio through SAS on demand.
proc download infile=rhost outfile=lhost;
But the result is error. How can I fix it?
09-13-2016 02:21 PM
09-13-2016 02:23 PM
Lot's of errors in the syntax I guess.
There are plenty of examples in the SAS/CONNECT documentation.
One hint: you probably want to assign rlink using the FILENAME statement. And that prior to the RSUBMIT (and the also missing SIGNON).
09-13-2016 04:12 PM - edited 09-13-2016 04:24 PM
Unless I'm mistaken your program suggests that you are trying to CONNECT to a third-party SAS server from SAS on Demand. As @Cynthia_sas has already mentioned, I doubt this would be allowed as for starters it would create all sorts of security implications.
One check you can do is confirm if SAS/CONNECT is licensed or not. Run proc setinit; run;
You can only use SAS/CONNECT if it is listed in the log as licensed.
09-13-2016 04:25 PM
I don't think that method will works with Academics On Demand.
You can open the .sas file and then copy and paste the code into the browser and execute the code.
You could also upload the file to your workspace (manually) by clicking file upload and then open it there and run it as well.