I have a data set with 2 columns (NAME and ENTRIES).
I an trying to get the name only to display as many times as there are entries. I thought using a DO UNTIL or WHILE statement would be the most efficient, but I am not sure.
Sample data and results set expected attached.
Simple iterative DO will suffice
Do i = 1 to entries;
output;
end;
keep name;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Submit your idea!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for:
View all other training opportunities.