Hi Reeza, I am trying to loop through a list of macro variables and verify the aren't missing. The problem I am having is it works for almost any other string. If I take the D out of var2 it also works, but other alphas don't cuase an issue. Below is the log. Thank you for your time. 🙂 1 ;*';*";*/;quit;run; 2 OPTIONS PAGENO=MIN; 3 %LET _CLIENTTASKLABEL='Program1'; 4 %LET _CLIENTPROJECTPATH=XXXXX 5 %LET _CLIENTPROJECTNAME=’test.egp'; 6 %LET _SASPROGRAMFILE=; 7 8 ODS _ALL_ CLOSE; 9 OPTIONS DEV=ACTIVEX; NOTE: Procedures may not support all options or statements for all devices. For details, see the documentation for each procedure. 10 ODS LISTING GPATH=&sasworklocation; 11 FILENAME EGHTML TEMP; 12 ODS HTML(ID=EGHTML) FILE=EGHTML ENCODING='utf-8' STYLE=Analysis 12 ! STYLESHEET=(URL="file:///C:/Program%20Files/SAS/SharedFiles(32)/BIClientStyles/4.2/Analysis.css") 12 ! ATTRIBUTES=("CODEBASE"="http://www2.sas.com/codebase/graph/v92/sasgraph.exe#version=9,2") NOGTITLE NOGFOOTNOTE 12 ! GPATH=&sasworklocation; NOTE: Writing HTML(EGHTML) Body file: EGHTML 13 14 %macro test 15 (_arg 16 ) 17 / 18 des="check if _arg is null/only white space" 19 ; 20 %sysevalf(%superq(&_arg.)=,boolean) 21 %mend; 22 23 %macro test1; 24 25 %let var1 =32Z7905; 26 %let var2 =32D7905; 27 28 %do jj=1 %to 2; 29 %if %test(var&jj.)=0 %then %put IT WORKED &jj.; 30 %end; 31 32 %mend; 33 34 %test1; IT WORKED 1 ERROR: Overflow has occurred; evaluation is terminated. ERROR: The macro TEST will stop executing. 35
... View more