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
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.