| Date: | Tue, 14 Feb 2006 17:57:16 -0600 |
| Reply-To: | Jiann-Shiun Huang <Jiann-Shiun.Huang@AMERUS.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Jiann-Shiun Huang <Jiann-Shiun.Huang@AMERUS.COM> |
| Subject: | Re: DO using a set of numbers instead of 1 to n increment 1 |
|
| Content-Type: | text/plain; charset=US-ASCII |
Toby:
Here is the answer to your second question: No. In "SAS Macro
Language, Reference", it says %do, iterative, is a macro statement and
is allowed in macro definition only.
J S Huang
1-515-557-3987
fax 1-515-557-2422
>>> <toby989@HOTPOP.COM> 2/14/2006 5:49:49 PM >>>
Hi All
Does on know how i can let an iterative do statement use numbers in a
set (i e the unique sorted id of one of my sas datasets) to loop
though
instead of using the counter 1 to n?
Probably ndependent form the question above, can I use the iterative
do
outside (/without defining) a macro?
Thanks.
Toby
|