11-15-2011 10:05 PM
I want to run a sas program connecting remotely to a remote server meaning sas program that exists on a remote server.
can this be possible?
I am thinking to use filename ftp command to connect. But then to run a SAS program after connecting to it, can we use X unix command to execute sas program.
And one more thing is all this needs to be called in a sas program from current server. Please let me know.
thanks in advance!!
11-16-2011 12:27 AM
You want to run this code at Remote SAS Server or at local PC ?
Which connecting way you have connect with Remote SAS Server?
11-16-2011 12:35 AM
Some more questions. How would you connect to this server if you weren't using SAS? And, does only the program exist on the remote server, or does the data the program accesses also reside on the remote server?
11-16-2011 02:24 AM
I want to access remote server using SAS in filename ftp command. And then once remote server got connected, there are some datasets in a libary and I have a program on remote server to access those datasets and are downloaded to one of directories on remote server. So my question was - once we get connected to remote server, how can I run that SAS program ?
thanks in advance for help.
11-16-2011 03:56 AM
using SAS in filename ftp command.
is only a way to connect to ftp server not SAS server.
If you want to run this code at Remote SAS Server, you must have Product:
Or If you can telnet SAS Server ,then can use batch mode to run SAS code.
11-16-2011 04:50 AM
So do you have a server with SAS data and SAS programs, but with no SAS server?
Or do you, but you don't have SAS/CONNECT, and try to mimic this by using filename ftp...???
If you can map the directories where your programs and data reside, you can execute directly on your local SAS session.
11-16-2011 08:58 PM
Assuming your SAS Server is under UNIX/AIX.
Use username sas to telnet SAS Server
Enter SAS Install directory like: /sas/SAS/9.2/SASFoundation/bin
Use vi or emacs to edit SAS code and save as a .sas file
input the following at command line:
sas -sysin /home/test.sas -log /home/test.log
As LinusH suggested, You should check the companion of UNIX to find more information.