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
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!
Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.