Date: Fri, 7 Aug 2009 07:25:22 -0700
Reply-To: wes <w.greenhead@GOOGLEMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: wes <w.greenhead@GOOGLEMAIL.COM>
Organization: http://groups.google.com
Subject: changing the maximum record length from 256
Content-Type: text/plain; charset=ISO-8859-1
hi,
im trying to import a fixed width file of 541 characters long using
this code below:
data test;
infile '\\Icna4\clients\TP\02.txt';
input field1 $ 1-2 field2 $ 3-9 field3 $ 10-13 field4 $ 14-54 field5
$ 55-95
field14 $96-136 field15 $ 137-177 field16 $ 178-218 field9 $ 219-259
field10 $ 260-265
field11 $ 266-303 field12 $ 304-304 field13 $ 305-541;
run;
However its giving me a message about maximum record length being 256,
how do i change this?
Many thanks for your help
Wes
|