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 (November 1999, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Sun, 31 Oct 1999 00:15:07 -0500
Reply-To:     Paul McDonald <paul_mcdonald@AMERITECH.NET>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Paul McDonald <paul_mcdonald@AMERITECH.NET>
Organization: Ameritech.Net www.ameritech.net  Complaints: abuse@ameritech.net
Subject:      Re: looping over a set statement?

All I can say is "why?"

Why do you want do do that? There's got to be an easier way.

Douglas Nichols wrote in message <381B5A56.352FA139@fhcrc.org>... >I want to do the following >data junk; > set myjunk(keep=id var1); > put '************' id; > do while(not(lastone)); > set yourjunk(keep=id var2 var3 where=(yourjunk.id = myjunk.id)) >end=lastone; > put @5 var2 +3 var3; > end; > run; > >How is myjunk.id differentiated by yourjunk.id..., the sytax above is >not correct. > >Thanks > >dn >-- >Cheers, dn > >Douglas Nichols dnichols@fhcrc.org >--------------------------------------------------------------- >National Wilms Tumor Study Group 206.667.4283 >Seattle, WA


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