Hello All,
I want to copy files from my local machine to SAS Server using EG, My SAS Server is on Windows Server
Hi:
The regular click path to do this in EG 7.1 is: Tasks --> Data --> Upload Data Files to Server. But if the choice is grayed out, you will need to work with your SAS Administrator -- they may not want you uploading files to the server and may have reserved this ability to administrators.
cynthia
Hi Cynthia
Thanks for your reply
Is there any SAS code to do that operation automatically instead of doing manually.
It is only be possible if the SAS server can reference your local machine drives. Talk to your IT admin folks. Often they don't allow this for security reasons. Another possibility would be to have a common folder location where a network share would be accessible to both you and the SAS server (\\server\common share\Myfolder)
To transfer files, several methods may be used
- Use EG, as described
- if SAS is present on both hosts in question, and CONNECT is licensed, (only) SAS datasets can be up/downloaded
- use a file transfer method (SFTP, PuTTY, ...) tro transfer files. Most servers have the ssh server daemon installed and running. Windows servers may be quite a hassle, though, because of licensing and the intrinsic dumbness of Windows as such.
- use a shared network resource visible to your client and the server
- mount a server resource on your local PC
- mount a resource of your local PC on the server
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.