data ex ;
set sashelp.class ;
if age=11 then new_age=age*1.1 ;
else new_age=age*2 ;
run;
how to fix above program in particuar lines arrangement like see below arrangement
example:
Hi @thanikondharish
Do you mean formatting the code to follow good practices such as indentations, ...?
On SAS Studio, you can do this with the following icon
In SAS EG, I think you can click on "Format Code" in the Edit menu.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Latest Updates
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.
Browse our catalog!