Date: Mon, 2 Apr 2012 14:24:00 -0400
Reply-To: Randall Powers <powers_r@BLS.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Randall Powers <powers_r@BLS.GOV>
Subject: using a 1x1 vector in PROC IML as an index in a do loop
Hello SAS Folks,
I have a 1x1 vector in PROC IML. Let's call it B5.
B5 contains a numeric value. What I'd like to do is create a do loop that
whose indexes are 1 to the value of B5.
%Do q=1 %to (value of B5);
*more code*;
end;
How would I do this?
Thanks!
|