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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1201 views
  • 0 likes
  • 3 in conversation