SAS_Institute
A00-211 · Question #97
The SAS data sets WORK.EMPLOYEE and WORK.SALARY are listed below: WORK.EMPLOYEE WORK.SALARY fname age fname salary Bruce 30 Bruce 25000 Dan 40 Bruce 35000 Dan 25000 The following SAS program is…
The correct answer is B. 4. See the full explanation below for the reasoning.
Question
The SAS data sets WORK.EMPLOYEE and WORK.SALARY are listed below:
WORK.EMPLOYEE WORK.SALARY fname age fname salary Bruce 30 Bruce 25000 Dan 40 Bruce 35000 Dan 25000 The following SAS program is submitted:
data work.empdata; merge work.employee work.salary; by fname; totsal + salary; run; How many variables are output to the WORK.EMPDATA data set?
Options
- A3
- B4
- C5
- DNo variables are output to the data set as the program fails to execute due to errors
How the community answered
(33 responses)- A18% (6)
- B70% (23)
- C9% (3)
- D3% (1)
Community Discussion
No community discussion yet for this question.