SAS_Institute
A00-211 · Question #84
The following SAS program is submitted: data work.company; set work.dept1(keep = jobcode) work.dept2(rename = (jcode = jobcode)); run; Which one of the following is the result?
The correct answer is B. The variable JOBCODE is written to the output data set. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
data work.company; set work.dept1(keep = jobcode) work.dept2(rename = (jcode = jobcode)); run; Which one of the following is the result?
Options
- AThe variable JCODE is written to the output data set.
- BThe variable JOBCODE is written to the output data set.
- CNeither variable JCODE nor JOBCODE is written to the output data set.
- DThe program fails to execute due to errors.
How the community answered
(38 responses)- A11% (4)
- B79% (30)
- C3% (1)
- D8% (3)
Community Discussion
No community discussion yet for this question.