Hi,
I am totally lost in this setup, please help, I am using SAS Studio 9.4
%let outpath=filepath-to-output-folder;
Hi,
I am using SAS studio for an e-learning virtual Lab.
Dear Tom,
Thank you very much for your time and efforts, please help me more
step 1: In your EPG1V2 folder, open libname.sas.
So Libname.sas is in Demo folder so when I open it, and then I will have to add
Macro.
actual file:
libname pg1 "S:/workshop/EPG1V2/data";
run;
Creating Macro:
%let outpath="S:/workshop/EPG1V2/data";
libname pg1 "S:/workshop/EPG1V2/data";
run;
and then I will run and below is the result:
NOTE: The SAS System stopped processing this step because of errors.
98 proc export data=pg1.storm_final
99 outfile="&outpath/storm_final.csv"
NOTE: Line generated by the macro variable "OUTPATH".
99 ""S:/workshop/EPG1V2/data"????
Dear Tom,
Thanks a lot, really appreciate your time and efforts. it solved the problem.
hi, I did submit the code and I still get an error saying that my pg1.storm_final.data does not exist.
I am not sure what is the problem can you please help me?
the code
proc export data=pg1.storm_final
outfile="&outpath/storm_final.csv"
dbms=csv replace;
run;
thank you @tom_grant its really helpful
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.