You have the variables names incorrect.
Run a PROC CONTENTS and see the exact variable names you need to use.
From your screen shot, it looks like you are using SAS Studio, viewing column labels, like this example:
SAS Studio data set viewer showing column labels
As Reeza mentioned, you could run PROC CONTENTS on your data set. Or you could switch the view to column names, as shown below:
SAS Studio data set viewer showing column names
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.