NOTE: Character values have been converted to numeric values at the places given by: (Line):(Column).
28:6
Did you notice this in log, SAS will automatically try to convert it into numeric.
If SAS can't convert the value then y will be missing. Check the log.
Data sample;
x='1,000';
y=10*x;
run;
NOTE: Character values have been converted to numeric values at the places given by: (Line):(Column).
28:6
NOTE: Compression was disabled for data set WORK.SAMPLE because compression overhead would increase the size of the data set.
NOTE: Invalid numeric data, x='1,000' , at line 28 column 6.
x=1,000 y=. _ERROR_=1 _N_=1
NOTE: Missing values were generated as a result of performing an operation on missing values.
Each place is given by: (Number of times) at (Line):(Column).
1 at 28:5
... View more