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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.