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 (August 2009, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: sas-l@uga.edu
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


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