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:
As Reeza mentioned, you could run PROC CONTENTS on your data set. Or you could switch the view to column names, as shown below:
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.