Date: Mon, 19 Jun 2006 08:33:19 -0700
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Steve Silver <steve.silver@SUNTRUST.COM>
Subject: Re: How to read a text file with comma as the demiliter?
Content-Type: text/plain; charset="iso-8859-1"
infile old dsd delimiter=',' truncover;
input caseN :$char7.
Xu Libin wrote:
> Dear Listers,
> I am having some trouble trying to read a text file with comma
> as the delimiter. The syntax is as follows:
> Data new;
> Infile old dsd missover;
> Input caseN $7. Order $1. CIC $3.;
> It reads the data into SAS fine, but when I proc freq the variable
> Order, I found the comma is treated as the variable value. Can you tell
> me why that happens? Thanks for your expertise.