You cannot perform arithmetic on string literals. Use the variable names. If you have the VALIDVARNAME option set to any then you could use name literals to allow you to program with a name that include embedded spaces and other non-standard things.
You might want to also check how the SUM() function differs from simple + operator. (Hint what do you want for SUM when there is no value for PULSE?)
data Question2a;
set Homework.minute1;
sum = sum( of Appearance Pulse Grimace Activity Respiration);
run;
title 'Minute1 dataset plus score';
proc print data=question2a;
var Baby_ID Appearance Pulse Grimace Activity Respiration sum;
run;
... View more