BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Tal
Pyrite | Level 9 Tal
Pyrite | Level 9

What's the best way to  move  SAS datasets  from the sas server to a  NAS  folder?

1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

Your SAS server is running on UNIX, so it does not use Windows filename conventions (backslash!), and UNC names won't work.

To use a simple cp, the network share must be mounted on the UNIX filesystem.

Without mounting, you may be able to use sftp.

View solution in original post

4 REPLIES 4
SASKiwi
PROC Star

What OS is this happening on? Are you simply migrating your SAS data to new storage? If so then using OS tools will be an efficient way of moving multiple folders at once.

Tal
Pyrite | Level 9 Tal
Pyrite | Level 9

trying to  copy a  directory full  of sas  files to a   nas  folder.
tried:

  cp  /xx/yy/dir_name/*  \\Nabdc01sdprs01\x\y\z\temp

but not working . The  NAS folder path does not  get  recognized 

 

Kurt_Bremser
Super User

Your SAS server is running on UNIX, so it does not use Windows filename conventions (backslash!), and UNC names won't work.

To use a simple cp, the network share must be mounted on the UNIX filesystem.

Without mounting, you may be able to use sftp.

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