Reputation: 11
EXPORT PROC
OUTFILE="C:users\den\Desktop\export_project. sas7bdat" REPLACE;
RUN;
I'm trying to run this code in Programs to generate SAS files but It gives me an error.
I have multiple temporary data sets (ex. Task, User, Errors, etc) stored in the libraries in work folder. How do I export these data sets into sas7bdat?
Upvotes: 0
Views: 5633
Reputation: 51621
There is no need to "export" a SAS dataset to another SAS dataset. Just copy them. For example you could create a libref that points to the folder you want to write them into and then use PROC COPY to copy them.
libname out 'C:\users\den\Desktop\' ;
proc copy inlib=work outlib=out ;
select export_project;
run;
Upvotes: 4