| Date: | Mon, 19 Jun 2006 08:34:18 -0700 |
| Reply-To: | steve.silver@SUNTRUST.COM |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Steve Silver <steve.silver@SUNTRUST.COM> |
| Organization: | http://groups.google.com |
| Subject: | Re: How to read a text file with comma as the demiliter? |
|
| In-Reply-To: | <FA0F518F85A0CF40891CB7D09DA02DF608D14A@NCT0010CP3MB04.ds.irsnet.gov> |
| Content-Type: | text/plain; charset="iso-8859-1" |
|---|
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.;
> Run;
>
> 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.
>
> Libin
|