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 (July 2005, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: vinoth babu <way2vb@yahoo.com>
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


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