I just received an error message below:
NOTE: Character values have been converted to numeric values at the places given by:(Line):(Column).
72:8
I'm puzzled by this message since the column 8 in my dataset is a gender variable that has no numeric value. I would like to look up the cell value using line and column value provided in the error message. Please help.
That is the line number in the SAS LOG and the column number of the statement on that line in the log.
525 data test; 526 set sashelp.class; 527 new=name+1; 528 run; NOTE: Character values have been converted to numeric values at the places given by: (Line):(Column). 527:7
Column 7 is the first letter of the variable NAME on line 527.
That is the line number in the SAS LOG and the column number of the statement on that line in the log.
525 data test; 526 set sashelp.class; 527 new=name+1; 528 run; NOTE: Character values have been converted to numeric values at the places given by: (Line):(Column). 527:7
Column 7 is the first letter of the variable NAME on line 527.
Got it. Thanks.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.