| Date: | Wed, 27 Jan 1999 13:52:18 -0600 |
| Reply-To: | "Boylan, Dave" <dboylan@UTILICORP.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU> |
| From: | "Boylan, Dave" <dboylan@UTILICORP.COM> |
| Subject: | Delimited text file fields longer than 8 characters |
| Content-Type: | text/plain |
|---|
I'm having trouble reading a delimited text file with varying length fields
longer than 8 characters. It seems that SAS truncates the character field
after the 8th character. For example, a text file record like:
100,9999,bill,hello world,755
read with the following SAS program:
Data Junk;
infile raw dlm=',';
input num1 num2 name $ comment $ num3;
run;
Gives the following results:
num1 num2 name comment num3;
100 9999 bill hello w orld755
I'm sure that I am missing something simple here.
Thanks
--------------------------------------
David Boylan
Corporate Forecasting
UtiliCorp United, Inc.
816.467.3062
--------------------------------------
|