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.

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!
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.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

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
  • 2433 views
  • 1 like
  • 4 in conversation