Create multiple data sets using do loop in SAS/IML

Reply
Not applicable
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,761

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

SAS Super FREQ
Posts: 4,237

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

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