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 (November 2010, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 8 Nov 2010 21:31:05 -0500
Reply-To:     bbser2009 <bbser2009@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         bbser2009 <bbser2009@GMAIL.COM>
Subject:      what's wrong, only 5 observations
Content-Type: text/plain; charset="us-ascii"

I accidently wrote down a strange but grammatically right code like this:

data temp;

do i=1 to 42 by 2;

set sasuser.actlevel;

output;

end;

run;

proc print;

run;

The data set being read has 42 observations. I supposed the code gave me 21 observations. But it turned out I only got the first 5 observations from the original data set.

Could you help me explain this results. Thanks.

Max


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