Desktop productivity for business analysts and programmers

DO UNTIL STATEMENT

Reply
New User
Posts: 1

DO UNTIL STATEMENT

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.

 

Esteemed Advisor
Posts: 5,399

Re: DO UNTIL STATEMENT

Simple iterative DO will suffice

 

Do i = 1 to entries;

output;

end;

keep name;

PG
Ask a Question
Discussion stats
  • 1 reply
  • 132 views
  • 0 likes
  • 2 in conversation