Date: Thu, 20 Apr 2006 09:09:27 GMT
Reply-To: Eric Eyre <eeyre@CONCENTRIC.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Eric Eyre <eeyre@CONCENTRIC.NET>
Organization: Road Runner High Speed Online http://www.rr.com
Subject: Re: Can we use embedded data step
it seems as if a lot of SAS-Lers are heavily into embedding, but the variety
I see here is embedding SET or INFILE/INPUT statements within DO loops as in
if _n_=1 then do until (lastobs);
set monthsum end=lastobs;
do i = monthnum, midmon, lastmon;
do until (lastobs);
infile temp filevar=nextfile end=lastobs;
input Flight $ Origin $ Dest $ Date : date9.
"Rajesh" <Rajesh.email@example.com> wrote in message
> Hi all,
> Just i was thinking ,can we use embedded datastep in SAS.
> That is within a datastep can we use another datastep.(i don't so it is
> But if is there can you let me know it would be a help for me.