SAS_Institute
A00-201 · Question #101
Which one of the following SAS statements renames two variables?
The correct answer is B. set work.dept1 work.dept2(rename = (jcode = jobcode sal = salary)). See the full explanation below for the reasoning.
Question
Which one of the following SAS statements renames two variables?
Options
- Aset work.dept1 work.dept2(rename = (jcode = jobcode) (sal = salary));
- Bset work.dept1 work.dept2(rename = (jcode = jobcode sal = salary));
- Cset work.dept1 work.dept2(rename = jcode = jobcode sal = salary);
- Dset work.dept1 work.dept2(rename = (jcode jobcode) (sal salary));
How the community answered
(45 responses)- A4% (2)
- B84% (38)
- C2% (1)
- D9% (4)
Community Discussion
No community discussion yet for this question.