I am hoping this is a simple question. I followed the advice on this thread to change a row of numbers from + to -. Would you know what is it I am missing on line 47?
44 Data ab_2;
45 Set ab;
46 if AccountType="total saved" then do;
47 _4Q14=_-2014Q4;
__
22
ERROR 22-322: Syntax error, expecting one of the following: !, !!, &, *, **, +, -, /, <, <=, <>, =, >, ><, >=, AND, EQ, GE, GT, IN,
LE, LT, MAX, MIN, NE, NG, NL, NOTIN, OR, ^=, |, ||, ~=.
It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.