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.
April 27 - 30 | GAYLORD TEXAN
Register now to lock in early bird pricing through February 25!
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!