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 (December 2007, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 18 Dec 2007 20:06:08 -0500
Reply-To:     Ya Huang <ya.huang@AMYLIN.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Ya Huang <ya.huang@AMYLIN.COM>
Subject:      ODS CSV, why the numbers are quoted?

ods csv file="c:\temp\junk.txt";

proc print data=sashelp.class noobs; run;

ods csv close;

The junk.txt opened as this:

"Name","Sex","Age","Height","Weight" "Alfred","F","14","69.0","112.5" "Alice","F","13","56.5"," 84.0" "Barbara","F","13","65.3"," 98.0" "Carol","F","14","62.8","102.5" "Henry","M","14","63.5","102.5" "James","M","12","57.3"," 83.0" "Jane","F","12","59.8"," 84.5"

Even the numbers are quoted. I was hoping to get the string quoted, but not the numbers. SAS/Win/V8.2.

Any fix?


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