I'm trying to include the value of two prompts I have generated in SAS EG in the filename during a PROC EXPORT step. One prompt is numeric and resolves in the file name just fine, but the other prompt is a date and I keep getting WARNING: Apparent symbolic reference LOOKBACKSTARTDATE not resolved. My code: PROC Export DATA=WORK.MONTHLYCOMPILED OUTFILE="C:\Documents\SASoutput\monthly_&lookbackstartdate._&txstartcohort..csv" DBMS=csv REPLACE; RUN; The date variable - &loobackstartdate - describes the start date for the data set that went into the anlaysis. It's not like a date/time stamp for the run itself, so using a function that inserts today's date is not what I'm going for. I played around with trying to convert &lookbackstartdate into text and saving that as another variable with a preceding %let step, but I'm just tripping over myself on how to do that.
... View more