LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (February 2000, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


Back to: Top of message | Previous page | Main SAS-L page