Hi,
Can someone please help me to reference a numeric variable when the variable name is mix of letters and numbers? Thanks!
Variable name: TEST10
Type: Numeric
Group: Numeric
Current code:
proc print data=test;
var TEST10;
sum TEST10;
run;
What is the question?
Hi Tom,
I have checked that there is a TEST10 variable in the 'test' dataset (the Name is TEST10 and there is no label to the variable) but there is an error when I run the code - 'ERROR: Variable TEST10 not found' so is there a way to correctly reference the numeric variable, despite the name being a mixture of characters and numbers?
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.