LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (November 1999, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 11 Nov 1999 21:23:45 GMT
Reply-To:   California Doll <vwilkins@MY-DEJA.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   California Doll <vwilkins@MY-DEJA.COM>
Organization: - Before you buy.
Subject:   Re: read long character variable

In the third example SAS is trying to read 100 characters for x then going on to read y. Since the line consists of less than 100 characters, it bombs.

-- California Doll It takes time to be a success, but time is all it takes. - Anonymous

In article <>, HERMANS1 <HERMANS1@WESTAT.COM> wrote: <snip> The third example produces output that I can't explain fully, but appears to be a result that one would hope to avoid. > Sig > <snip> > data test; > infile cards dlm='" '; > input x $char100. y; > cards; > "ABCDEFGHI " 1 > "ABCDEFGHIJK" 2 > "ABC" 3 > ; > run; > proc print; > run; >

Sent via Before you buy.

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