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

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

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

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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