Hello,
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!!
You want to run this code at Remote SAS Server or at local PC ?
Which connecting way you have connect with Remote SAS Server?
SAS/Connect ?
SAS/Share?
SAS/Integrated Technology?
Ksharp
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?
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.
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:
SAS/Connect ?
SAS/Share?
SAS/Integrated Technology?
Or If you can telnet SAS Server ,then can use batch mode to run SAS code.
Ksharp
hi Ksharp!!,
Would you please post an example on how to use batch mode to run SAS Code ?
thanks,
sasbase
You can find this information in the Companion for UNIX environments documentation.
/Linus
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.
/Linus
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.
Ksharp
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.