Question 45 :

 Which one of the following SAS statements renames two variables?

 

  1. set work.dept1

 work.dept2(rename = (jcode = jobcode)

 (sal = salary));

  1. Get all Questions and Answer from here
  2. You need to have paid subscription to access all questions
  3. Thanks for considering SAS Certification Material

 Correct Answer : 2

 Exp : After the first open brackets you place the rename keyword then open new brackets again to place all the renaming variables: ie

 (rename= (oldvar1=newvar1 oldvar2=newvar2));

 All the other answers have bad syntax.

You can access to full explanation to question and answer from this page.