LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (July 2001, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 30 Jul 2001 14:31:46 +0200
Reply-To:     Andreas Grueninger <grueninger@LFL.BWL.DE>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Andreas Grueninger <grueninger@LFL.BWL.DE>
Organization: InterNetNews at News.BelWue.DE (Stuttgart, Germany)
Subject:      Re: READ 5 TIMES THE SAME DATA SET

Or the more sophisticated approach if you need the number of the rounds.

DATA tiers; do a=1 to 5; output; end; RUN;

data test; IF (_n_=0) THEN SET tiers NOBS=nobs; DO _n_=1 TO 5; DO _i_=1 TO nobs; SET tiers POINT=_i_; OUTPUT; end ; end ; STOP; run ;

"Nicolas Pont" <nicolas.pont@UNICIBLE.CH> schrieb im Newsbeitrag news:OF38B36AF7.DD5395EA-ONC1256A99.003659EE@cible.unicible.ch... > 1) Construct a data set with for example 5 records > > > 2) Test this program > How can I read for example 5 times all the same data set in the same > data step >


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