Hello, I have a sas data set called salary1 in the library called cert with 1 observation and 2 variables (salary and year). I want to create an output salary2 in the library called results by increasing salary by 5.65% until I have $500.000. The value of salary =256000.45 and year=2022. I get an error message when I submit the code below. The error is on ‘Salary *0.0565’ Data results.salary2; Set cert.salary1; Do until (salary>=500000); Salary=256000.45 Salary *0.0565 ; Year + 1; End ; Proc print data = results.salary2; Run ; Any help?
... View more