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.

Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!
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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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