Create multiple data sets using do loop in SAS/IML

Reply
N/A
Posts: 1

Create multiple data sets using do loop in SAS/IML

I was trying the following codes:

proc IML;

do i=1 to 20;

     [some codes to execute]

data;

end;

QUIT;

So I am expecting to get 20 data sets after completing the do loops. Is it possible in SAS? I can do it using macro, but I do not like to use macro within PROC IML!

Thanks in advance.

Super User
Posts: 10,041

Re: Create multiple data sets using do loop in SAS/IML

SAS Super FREQ
Posts: 3,755

Re: Create multiple data sets using do loop in SAS/IML

Ask a Question
Discussion stats
  • 2 replies
  • 709 views
  • 0 likes
  • 3 in conversation