Could you please help me to resolve the following syntax error? I'm trying to do this under expression in SAS DI
case when KNKBTY = '1' then TBFR10.AGI
5 when KNKBTY = '2' then QISFR10.AGI
6 when QISFR10.AGI=. then TBFR10.AGI
7 end
8 end
___
22
76
ERROR 22-322: Syntax error, expecting one of the following: ;, !, !!, &, *, **, +, -, /, <, <=, <>, =, >, >=, ?, AND, BETWEEN,
CONTAINS, EQ, EQT, EXCEPT, GE, GET, GROUP, GT, GTT, HAVING, IN, INTERSECT, IS, LE, LET, LIKE, LT, LTT, NE, NET, NOT,
NOTIN, OR, ORDER, OUTER, UNION, ^, ^=, |, ||, ~, ~=.
ERROR 76-322: Syntax error, statement will be ignored.
9 end;
... View more