Click on the Comments to view the Answers

Wednesday, January 27, 2010

Q26

Which one of the following SAS statements renames two variables?

A. set work.dept1 work.dept2(rename = (jcode = jobcode) (sal = salary));

B. set work.dept1 work.dept2(rename = (jcode = jobcode sal = salary));

C. set work.dept1 work.dept2(rename = jcode = jobcode sal = salary);

D. set work.dept1 work.dept2(rename = (jcode jobcode) (sal salary));

18 comments:

SASGuru said...

Answer: B

Check the syntax of rename= dataset option

Machuck said...

Answer: D
work.company doesn't have jobcode, it has jcode.

Unknown said...

answer b

Rujuta........ said...

B. set work.dept1 work.dept2(rename = (jcode = jobcode sal = salary));

siva said...

Answer B

CP said...

Answer B

set sas-dataset (rename = (old_name1 = new_name1 old_name2=new_name2));

Unknown said...

B

Ryan Lo said...

Answer is B.

Unknown said...

B

yuvraj said...

Answer is B.

kinnari said...

Answer is B

Unknown said...

B IS CORRECT

Unknown said...

B

Varun said...

Answer: B

Stevina Rumao said...

Ans B

Nishant said...

its b but still have missing one parenthesis it should be
set work.dept1 work.dept2(rename = (jcode = (jobcode sal = salary));

Unknown said...

B only

Unknown said...

Answer: B
Very informative blog and content thank you for sharing with us keep postingsas training,sas online training,learn sas online,sas online course,sas training in bangalore

Post a Comment



Technology Top Blogs On our way to 1,000,000 rss feeds - millionrss.com Hihera.com Blog Directory - OnToplist.com blogarama - the blog directory Blog Directory
Disclaimer

SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.

Other brand and product names are trademarks of their respective companies.

This blog is not responsible for any kind of copyright violation. This blog just collects the links hosted or posted by other servers/people/search engines.The creator of this page or the ISP(s) hosting any content on this site take no responsibility for the way you use the information provided on this site.If anybody has any copyright claim on it and doesn’t wish the information provided to be shown on our site, please do respond to this email. We shall remove them off immediately. Any inconvenience is regretted. Please do mention your exact grievance/problems with respect to certain third party links. We assure you that appropriate action will be taken off. Thank you