DATA Step, Macro, Functions and more

How to copy datasets generated by SAS

Reply
Super Contributor
Posts: 345

How to copy datasets generated by SAS

options noxwait;
x ‘copy c:\Local\Tem\*.sas7*
C:\dataliba;
run;

I need to copy all those tem datasets generated by sas. Any advice? Thanks.

 

Super User
Posts: 5,503

Re: How to copy datasets generated by SAS

Just define two LIBNAME statements, one for the input folder and one forl the output folder.

 

libname in '... path ...';

libname out '... path ...';

 

proc copy in=in out=out;

run;

Ask a Question
Discussion stats
  • 1 reply
  • 151 views
  • 2 likes
  • 2 in conversation