My previous post relating to my issue with this activity related to the library error which I was able to fix! Now I'm having a different issue.
This is the warning:
proc export data=pg1.storm_final
74 outfile="&outpath/storm_final.csv"
WARNING: Apparent symbolic reference OUTPATH not resolved.
75 dbms=csv replace;
76 run;
I also have an error:
ERROR: Physical file does not exist, C:\Users\learnsas-16391\&outpath\storm_final.csv.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 1 observations read from the data set PG1.STORM_FINAL.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
Immediately prior to this question, there is a prior activity "Create a Macro Variable (Required)". That step has the instructions for creating the macro variable &outpath.
As mentioned there in one of the options, you will need write access to this directory. If you don't know where you have write access, you could use:
%let outpath = %sysfunc(pathname(work));
That will write your output files to the temporary work directory used by your SAS session.
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Explore Now →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.
Ready to level-up your skills? Choose your own adventure.