Click on the Comments to view the Answers

Wednesday, January 27, 2010

Q25

The following SAS program is submitted:

data work.company;
set work.dept1(keep = jobcode) work.dept2(rename = (jcode = jobcode));
run;

Which one of the following is the result?

A. The variable JCODE is written to the output data set.
B. The variable JOBCODE is written to the output data set.
C. Neither variable JCODE nor JOBCODE is written to the output data set.
D. The program fails to execute due to errors.

15 comments:

SASGuru said...

Answer: B

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

The variable JOBCODE is written to the output data set.

life is beautiful said...

I guess it should be jcode. As first data set has jobcode and second has jcode which has been renamed as jobcode now. So second set statement will replace the values of first jobcode although it will have the length of jobcode of first data set.

siva said...

Answer is B

Manna said...

The variable JOBCODE is written to the output data set since it is renamed and keep = jobcode)

Manna

Ryan Lo said...

Answer is B.

Unknown said...

jobcode

yuvraj said...

Answer is B.

kinnari said...

Jobcode variable will be in output data set

Altamash Ansari said...

Why not D, because both the DS contains JOBCODE varaible.

Stevina Rumao said...

ans b

Unknown said...

Try this guys, http://www.sas-exam.com/exams/sample-sas-certified-base-programmer-sas-9 free demo exam, immediate results soon you finish exam

H. C. said...

B

Anonymous said...

hello everyone! i am planning to take BASE SAS CERTIFICATION. if you guys can post as much information as possible would be helpful to me.please guide me ..

Anonymous said...

hello everyone! i am planning to take BASE SAS CERTIFICATION. if you guys can post as much information as possible would be helpful to me.please guide me ..

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