I am trying to execute this code in SAS EG:
%let check1 = C:\Datasets;%let check2 = 2531-WB-31MAR21;
%include "%qtrim(&check1)\%qtrim(&check2)\setup_wb.sas";
and I get following Error:
I have no problem with including setup_wb.sas. It works fine except this error
This happens in the included code.
Please run that code again, with
options source2;
and post the log; use this button to copy/paste the log:
Do NOT post the log in a picture!
View solution in original post
Thank you. The problem was in this statement:
%if &batch_shared.= %then %do;
correct code is:
%if "&batch_shared."="" %then %do;
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 16. Read more here about why you should contribute and what is in it for you!
Submit your idea!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.