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.

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.
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: Call for Content

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!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 2175 views
  • 1 like
  • 4 in conversation