BookmarkSubscribeRSS Feed
5 REPLIES 5
ballardw
Super User

What type of file?

Password where? To access the file, the server, the transfer program? Lots of places a password may be required.

 

Do the two servers share anything like common network disk access?

soujanyak
Fluorite | Level 6

it is a sasdata sets, where I need to put my user id and password for server to move files

ChrisHemedinger
Community Manager

Methods to move files among two SAS environments:

  • If the two environments are "connected" using SAS/CONNECT, you can use PROC UPLOAD/DOWNLOAD. This requires a signon statement that may need credentials.
  • SAS supports a FILENAME FTP statement if need to connect SAS with another node that supports an FTP server. Again, usually you need credentials.
  • If your two environments are both accessible via a SAS Enterprise Guide session, you can use the Upload SAS Data Sets/Download SAS Data Sets tasks, or the Copy Files task, to move files between them using your EG session in the middle.
  • As @ballardw says, if the two machines are connected on the network with addressable folders, you might be able to use FCOPY() function to copy the files across. Or assign a library to each and use PROC COPY or PROC DATASETS with a COPY statement.

There's nothing about SAS that will allow you to bypass the need to authenticate though -- you will need credentials or federated permissions for whatever systems you're going to access.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
SASKiwi
PROC Star

What is the OS of the server you are copying from and the OS of the server you are copying to? If they are the same, then you can use OS functionality to do the copy. If the OS's are different you will have to use SAS to transport the datasets so that they will be usable.

 

Talk to your SAS administrator. They will most likely be able to guide you as to the best approach.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 5 replies
  • 3102 views
  • 1 like
  • 4 in conversation