Date: Tue, 15 May 2012 09:55:04 -0400
Reply-To: Randy <randistan69@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Randy <randistan69@HOTMAIL.COM>
Subject: Macro to export to csv
My code is as follows:
data 1 ; set have ;
if ID = 1 then output ;
run;
PROC EXPORT DATA= want
OUTFILE= "C:\Documents and Settings\Randy\Desktop\Batch
Folders\1.csv"
DBMS=CSV REPLACE;
RUN;
My Id's run from 1 to over 10000. Is there a Macro that can be written to
loop through the ID's and convert them into csv files.
Thank you all
Randy
|