I use input and infile statements with option in data step to input external data.
In first case, the external data are in-stream data lines and the code are
data test1;
infile datalines missover;
input num 5.;
datalines;
1
22
333
4444
5555
;
run;
tes1 has three observations,
1
22
333
4444
55555
In Second case ,the external data is in d:\mydata\x.txt and and the code are
data test;
infile 'd:\mydata\x.txt' missover;
input num 5.;
run;
test has its observation as following
.
.
.
.
5555
which is different from those in test1 completely. Why?