...you can avoid this by eg:
data fltdest ;
infile datalines truncover;
input Flight $ Destination $20. ;
put _all_ ;
There are also some other possible options, like missover, ... which does
nearly the same.
On Wed, 25 Feb 2009 14:10:48 -0500, Akshaya Nathilvar
>This is becoz of two blank lines one at the top and the other at the
>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
>> a line."