BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
sas_9
Obsidian | Level 7


Hi All,

I have a local library assigned xyz 'c:\'; and have data set under it. I have same library xyz -preassigned on SASApp and wants to transfer that datasets from local xyz library ro SASApp xyz library.

how can i do that? please advise.

Thanks,

sandip.

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

The easiest method is to use Tasks->Data->Upload Data Files to server...

This allows you to point to your local file path (no library needed) and copy the file to your SASApp library.  EG manages the file transfer.

If you want a pure code solution, you would need to use SAS/CONNECT to establish a remote library connection from your Local SAS session to your remote SASApp session.  In that case, your local SAS is the client and your remote SASApp is the server.

Chris

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!

View solution in original post

3 REPLIES 3
ChrisHemedinger
Community Manager

The easiest method is to use Tasks->Data->Upload Data Files to server...

This allows you to point to your local file path (no library needed) and copy the file to your SASApp library.  EG manages the file transfer.

If you want a pure code solution, you would need to use SAS/CONNECT to establish a remote library connection from your Local SAS session to your remote SASApp session.  In that case, your local SAS is the client and your remote SASApp is the server.

Chris

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!
sas_9
Obsidian | Level 7

Thanks a lot Chris, that was quick and great help.

Wang_Yajun
Obsidian | Level 7
Hi, ChrisHemedinger I'm also interested in the question. I am acquainted with click-run method in SAS Enterprise Guide , but I wonder whether there is any possible way(such as FTP method ) to upload the files in the local directory to SAS EG server. If possible, could you please show me a sample code? Thanks a lot.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 3 replies
  • 4678 views
  • 0 likes
  • 3 in conversation