This was completely correct. I fixed the else statement and it worked exactly as I wanted it to. Thank you for your help. data Benefit_Amounts_PIA;
do year=2018 to 2050;
PIA=1000;
IF YEAR=2018 THEN COLA= .; ELSE COLA=.02;
if year=2018 then ADJ_PIA=PIA;
else adj_pia=ADJ_PIA*(1+COLA);
output;
end;
run'
... View more