Hi Friends,
I am new to SAS programming..I am getting an error on the below code..
PROC IMPORT OUT = types
DATAFILE= "&drv2\types.CSV"
REPLACE;
RUN;
data testout;
set test;
if (expdat>today() or expdat=.) and stat ='IN'
and (typ in (Select typ from types));keep lobcod typ;
run;
Error:
(typ in (Select typ from types));
------
22
76
ERROR 22-322: Syntax error, expecting one of the following: a quoted string,
a numeric constant, a datetime constant, a missing value,
iterator, (.
ERROR 76-322: Syntax error, statement will be ignored.
Please help me to resolve this issue.
Thanks in advance.
Raj