actually it's not helping - i am using below code and getting error: ALSO - JUST TO MAKE SURE I HAVE DATE value = Fri, Feb 20, 2015 %macro mycheck; %do i=1 %to 10; libname fin&i. "d:\woo\dir&i."; data woo&i. dif&i.; set fin&i..test; if date ne &sysdate. then do; output dif&i.; end; %end; %mend; %mycheck; _____________________________ ERROR 22-322: Syntax error, expecting one of the following: !, !!, &, *, **, +, -, /, <, <=, <>, =, >, ><, >=, AND, EQ, GE, GT, LE, LT, MAX, MIN, NE, NG, NL, OR, ^=, |, ||, ~=.
... View more