SAS Certified Base Programmer 123 Questions (68)
The following SAS program is submitted:
data work.total; set work.salary(keep = department wagerate); by department; if first.department then payroll = 0; payroll + wagerate; if last.department; run;
The SAS data set WORK.SALARY, currently ordered by DEPARTMENT, contains 100 observations for each of 5 departments.
Which one of the following represents how many observations the WORK.TOTAL data set contains?
A. 5
B. 20
C. 100
D. 500
Topics:
SAS Base Questions |
3 Comments »
A
Keep is spelled wrong so question is sorta confusing…correct please
@2. AMJ Thank you very much…I have corrected it.