BookmarkSubscribeRSS Feed
RW9
Diamond | Level 26 RW9
Diamond | Level 26

You can use the {i} above your post to post in code retaining the formatting.  Code readability is very important:

libname l '/folders/myfolders';

data carselect;
set sashelp.cars;
length country $10;
select(make);
when("Audi") country="USA";
otherwise country="other";
end;
run;

Audi are german by the way 🐵 

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 15 replies
  • 5072 views
  • 6 likes
  • 5 in conversation