Date: Fri, 1 Jul 2005 16:34:50 -0400
Reply-To: Randy Herbison <RandyHerbison@WESTAT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Randy Herbison <RandyHerbison@WESTAT.COM>
Subject: Re: Exporting specific data to csv
Content-Type: text/plain; charset="us-ascii"
Vinothbabu E.,
Create a subset including the variables you wish to export, and then use
PROC EXPORT to export the subset:
proc sql;
create view class as
select age
from sashelp.class
;
quit;
proc export data=class
outfile='c:\temp\class.txt'
dbms=csv replace
;
run;
RandyHerbison@westat.com
-----Original Message-----
From: owner-sas-l@listserv.uga.edu [mailto:owner-sas-l@listserv.uga.edu]
On Behalf Of vinoth babu
Sent: Friday, July 01, 2005 4:45 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Exporting specific data to csv
Hi,
I have a dataset which has 700 variables. can i export
only 10 variables to csv?
Is there any front end to get specific variables?
Thanks & Regards,
Vinothbabu E.
Send instant messages to your online friends
http://in.messenger.yahoo.com
|