Hi Everybody,
One more question from my side! (it is not my week:-(
After I run code below I got a strange log message. Actually my input data are all character data and I double checked them with PROC CONTENTS.
It looks like as the result of my code system treats field Fno as numeric and complains that it is invalid.
I have 2 questions:
1. Why it started to be treated as numeric now?
2. How to avoid the problem?
________________________________________________________
data INPUTXREF;
466 merge INPUTDATA(IN=A)
467 REF (IN=B);
468
469 A=substr(Fno,1,9);
470 b=substr(MC_sub_num,1,9);
471 if A;
472
473 run;
NOTE: Character values have been converted to numeric values at the places given by:
(Line)Column).
469:7 470:7
NOTE: Invalid numeric data, 'N17777777' , at line 469 column 7.
One more question from my side! (it is not my week:-(
After I run code below I got a strange log message. Actually my input data are all character data and I double checked them with PROC CONTENTS.
It looks like as the result of my code system treats field Fno as numeric and complains that it is invalid.
I have 2 questions:
1. Why it started to be treated as numeric now?
2. How to avoid the problem?
________________________________________________________
data INPUTXREF;
466 merge INPUTDATA(IN=A)
467 REF (IN=B);
468
469 A=substr(Fno,1,9);
470 b=substr(MC_sub_num,1,9);
471 if A;
472
473 run;
NOTE: Character values have been converted to numeric values at the places given by:
(Line)Column).
469:7 470:7
NOTE: Invalid numeric data, 'N17777777' , at line 469 column 7.