when i am input data into sas, using infile, there is a problem always comes up. i really need you help. thanks a lot.
after i run this program.
DATA yahoo;
INFILE 'D:\AGE.XLS';
INPUT OBS ID HEIGHT WEIGHT GENDER $ AGE;
RUN;
in the log book, a mistake is found like this
NOTE: The infile 'D:\AGE.XLS' is:
File Name=D:\AGE.XLS,
RECFM=V,LRECL=256
NOTE: Invalid data for OBS in line 1 1-6.(what's this meaning)
NOTE: LOST CARD.
OBS=. ID=. HEIGHT=. WEIGHT=. GENDER= AGE=. _ERROR_=1 _N_=1
NOTE: 1 record was read from the infile 'D:\AGE.XLS'.
The minimum record length was 6.
The maximum record length was 6.
NOTE: SAS went to a new line when INPUT statement reached past the end of a line.
NOTE: The data set WORK.HSDOD has 0 observations and 6 variables.
NOTE: DATA statement used:
real time 0.10 seconds
cpu time 0.10 seconds
many thanks



雷达卡



京公网安备 11010802022788号







