Not sure why I had it in my head that INTCK was being used, YRDIF doesn't have the ACTUAL parameter so that needs to be fixed. It will still return an error because DOB is not in the input data set. Note that the KEEP on the SET statement does not include DOB.
set emp (keep=Manager_EMP_ID Employee_ID Salary);
Then if you look at the data set option closely, it's a DROP. So you know have:
manager_emp_id employee_id salary and AGE/DOB (all missing), and then you drop more variables:
data emp(drop=Manager_EMP_ID Salary);
So in the end, you end up with:
employee_id, age and DOB, with only Employee_ID filled in.
This is a really, really bad example IMO. You should try finding a different method of studying, I recommend the Little SAS book which has been edited and used by hundred if not thousands of SAS programmers.
... View more