Your SALARY variable is defined as character but you are trying to SUM it which requires it to be numeric. Where did you source SALARY from? You can either source it again as numeric or convert it to numeric in SAS.
The 2025 SAS Hackathon has begun!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.