Please help me solve this issue to create the macro for the path.
I read some of the solutions in the SAS Community but I still cannot solve it. Thanks.
Follow the instructions for your software to create a macro variable that stores the location for output files.
SAS Studio%let outpath=filepath-to-output-folder;
When I replaced the italicized with this: /home/u49276441/EPG1V2/output
and tried to run this:
proc export data=pg1.storm_final outfile="&outpath/storm_final.csv" dbms=csv replace; run;
I get these errors:
Thanks @Reeza for the quick and very useful help. Much appreciated.
Problems solved including the macro issue.
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 25. 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.