nerdexam
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)
  • A
    4% (2)
  • B
    84% (38)
  • C
    2% (1)
  • D
    9% (4)

Community Discussion

No community discussion yet for this question.

Full A00-201 Practice