Date: Thu, 10 Feb 2000 22:02:49 +0900
Reply-To: ¼Õµ¿±Ç <dkson@UNIBOSS.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: ¼Õµ¿±Ç <dkson@UNIBOSS.COM>
Organization: Inet Internet Services
Subject: Re: USING A LOOP TO SET A DATASET MULTIPLE TIMES
Hi Steven..
The following is the test code I usually used..
data datafile;
array a{10};
do j=1 to 10;
do i=1 to 10;
a[i]=int(ranuni(today())*1000);
end;
output;
end;
run;
your regards
..Andrew..
Steven Hill ÀÌ(°¡) <38A1B100.AE1CECBD@sfwmd.gov> ¸Þ½ÃÁö¿¡¼
ÀÛ¼ºÇÏ¿´½À´Ï´Ù...
>Hi SAS-ler's:
>
>Can someone show me how to use a loop, preferably a do loop but any type
>will help, to
>set a dataset many times? I need to set a dataset, perform some
>analyses, and change the
>value of a variable each time I set the dataset. I have the the data
>set (n=28) if any one
>is interesting in helping.
>
>Steven
|