Question 45 :
Which one of the following SAS statements renames two variables?
- set work.dept1
work.dept2(rename = (jcode = jobcode)
(sal = salary));
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- 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.