variables you are using are not numeric... because they do not exist in the dataset...
The last of those errors is the most important in this case. Basically is says that the three variables you are trying to SUM do not exist on the dataset you are using.
You either have the wrong dataset or the wrong variable names.
I am looking at the log of my co-worker. They did not get an error. Same code.
Your code is the same but your input data isn't. Run this step on both yours and your co-workers dataset and compare the logs and the Output window results:
proc contents data = work.last_pay_period;
run;
:
@Proglegs wrote:
I am looking at the log of my co-worker. They did not get an error. Same code.
Same code, different data.
Since both pictures you posted show the use of WORK datasets then they are by definition reading from different datasets. The WORK library is separate for each SAS process.
Follow along as SAS technical trainer Dominique Weatherspoon expertly answers all your questions about SAS Libraries.
Find more tutorials on the SAS Users YouTube channel.