Hi, I am using SAS enterprise guide version 11 and I am trying to use a prompt within a case statement, and am getting a warning and an error: WARNING: Apparent symbolic reference CURR_PER_START not resolved. ERROR: Invalid date/time/datetime constant "&Curr_Per_Start"d. Here is my case statement: case when (t1.ASTHMA) = '1' and t1.ASTHMA_FIRST_RUN_DT < "&Curr_Per_Start"d then 1 else 0 end The Curr_Per_Start prompt type is set as date. I had previously had a separate date prompt here which worked fine, but I am trying to use less prompts and am trying to point this case statement to a different prompt and now it won't work? Any ideas?
... View more