Date: Wed, 25 Feb 2009 14:10:48 -0500
Reply-To: Akshaya Nathilvar <akshaya.nathilvar@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Akshaya Nathilvar <akshaya.nathilvar@GMAIL.COM>
Subject: Re: Get data in Using Input: Log has SAS went to a new line when
INPUT statement reached past the end of a line.
Content-Type: text/plain; charset=ISO-8859-1
This is becoz of two blank lines one at the top and the other at the bottom,
Input stmt is forced to read past the end of the current record and moves
the pointer to the first column of next record. Caused by Flowover-- the
default behavior for input stmts.
On Wed, Feb 25, 2009 at 1:14 PM, SUBSCRIBE SAS-L Dan
> Hi. SasLers:
> Please help to clarify this to me. Thanks.
> My code is as below:
> data fltdest ;
> input Flight $ Destination $20. ;
> put _all_ ;
> datalines ;
> 145 Brussels
> 145 Edmonton
> 150 Paris
> 150 Madrid
> 165 Seattle
> proc print ; run;
> The log give this
> "NOTE: SAS went to a new line when INPUT statement reached past the end of
> a line."