What's the best way to move SAS datasets from the sas server to a NAS folder?
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.
Have the NAS mounted on the SAS server, so you can directly establish a LIBNAME there.
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.
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
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.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.