HI,
i want to move SAS datasets from server to local drive and to do it all together,not one by one.
is there any way to do this, other than macro?
please help.
thanks,
goutham
You can use drag and drop (or cut and paste) in your operating system
There's also PROC COPY which will copy (not move) datasets to a new location.
when i use the proc datasets to copy the datasets from SAS server to local dirve.
im facing the below error.
it showing SAS server libname is re assigned.
193 rsubmit;
NOTE: Remote submit to METRO commencing.
537 Libname FLEX_INT '/data/u01/export/home/customer/BAT/TDB/FLEX_INT';
ERROR: Unable to clear or re-assign the library FLEX_INT because it is still in use.
ERROR: Error in the LIBNAME statement.
NOTE: Remote submit to METRO complete.
Are you trying to copy sas datasets from Linux (Server) to Windows (Local) ? Try WinScp or Sftp. If it is windows to Windows copy you can map the local drive to your server or do Sftp.
Linux to Windows transfer would need additional steps to make the file usable.
im using WINSCP, but its consuming lot of time .
any other way to move?
Looks like you've got SAS/Connect licensed. If so then use Proc Download as this will also ensure that the target SAS file will be in the encoding of your target SAS environment plus will also include things like indexes and constraints if you chose to do so.
Does that mean you also have a local SAS installed? If so do you also have SAS/Connect installed on the local and the remote SAS instance?
If you don't have a local SAS instance: Why would you want to move the SAS files?
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: