Can anyone help to look what wrong with the program below? I keep getting error message like ERROR 386-185: Expecting an arithmetic expression. ERROR 76-322: Syntax error, statement will be ignored. ERROR 202-322: The option or parameter is not recognized and will be ignored. data try; input var1 var2 var3; datalines; 7 2 2 5 5 3 7 2 7 ; %macro test; %let tt=try; data try2; set try; %bquote(dsid)=open(%str(%')&tt%str(%')); if varnum(%bquote(dsid),'var4') = 0 then var4 = .; run; %mend; %test; Thansk a lot!!
... View more