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.
Catch up on SAS Innovate 2026
Dive into keynotes, announcements and breakthroughs on demand.