Date: Tue, 8 Apr 1997 09:23:23 -0700
Reply-To: "rogers~b"@glaxowellcome.com
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: "Bruce W. Rogers" <"rogers~b"@GLAXOWELLCOME.COM>
Organization: Medical IR, GlaxoWellcome R&D
Subject: Re: run macro for each record
Content-Type: text/plain; charset=us-ascii
Bruce W. Rogers wrote:
>
>
> <snip>
>
> data _null_;
> file temp ;
> infile FILELIST missover pad;
> input @1 fname $char100.;
> if (_n_ > 0) then do;
> outline = '%readport(filevar = ' || fname || ');' ;
> end;
>
> data .... ;
>
> %inc temp ;
> run;
Not forgetting to add the line :
PUT OUTLINE ;
in the do-group of course !!
Whoops :-)
|