BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
sonic_poem
Calcite | Level 5

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Tom
Super User Tom
Super User

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.

View solution in original post

2 REPLIES 2
Tom
Super User Tom
Super User

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.

sonic_poem
Calcite | Level 5

Got it. Thanks.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

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!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1901 views
  • 0 likes
  • 2 in conversation