hi,
Want to update / append SAS data from XL
below is the sas command and it gives error
Unable to append data in SAS, secondly do I have to sort too after appending data
Fields
Tname is text
Counter is number
Sdate is date
TTime is time
option notes source;
FILENAME book1 DDE "excel|[book1.xls]sheet1!r2c1:r14c4";
DATA dat.test append;
INFILE book1 dlm=",";
informat tname $12. Counter $12. SDate TTime;
INPUT
RUN;
quit;
NOTE: Invalid data for tname in line 1 1-1.
RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+-
1 A 2 3
tname=. Countt=2 _ERROR_=1 _N_=1
NOTE: Invalid data for tname in line 2 1-1.
2 B 2 3
Want to update / append SAS data from XL
below is the sas command and it gives error
Unable to append data in SAS, secondly do I have to sort too after appending data
Fields
Tname is text
Counter is number
Sdate is date
TTime is time
option notes source;
FILENAME book1 DDE "excel|[book1.xls]sheet1!r2c1:r14c4";
DATA dat.test append;
INFILE book1 dlm=",";
informat tname $12. Counter $12. SDate TTime;
INPUT
RUN;
quit;
NOTE: Invalid data for tname in line 1 1-1.
RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+-
1 A 2 3
tname=. Countt=2 _ERROR_=1 _N_=1
NOTE: Invalid data for tname in line 2 1-1.
2 B 2 3