proc sql;
select keyword into: key separated by " "
from second;
quit;
data see;
set first;
do i=1 to 3;
if index(upcase(word),upcase(scan("&key.",i)))>0 then do;
flag="YES";
leave;
end;
end;
run;
not sure if it is what you desire...
Tao
|
|
0
|
|
|
|
Reply
|
yingtaoliu (78)
|
12/2/2009 3:16:27 PM |
|