Click on the Comments to view the Answers

Wednesday, January 27, 2010

Base 59

The following SAS DATA step is submitted:

data sasdata.atlanta work.portland work.phoenix;
set company.prdsales;
if region = 'NE' then output boston;
if region = 'SE' then output atlanta;
if region = 'SW' then output phoenix;
if region = 'NW' then output portland;

Which one of the following is true regarding the output data sets?
A. No library references are required.
B. The data sets listed on all the IF statements require a library reference.
C. The data sets listed in the last two IF statements require a library reference.
D. The data sets listed in the first two IF statements require a library reference.


SASGuru said...

Answer D

The datasets in the first two IF statements require “sasdata” libref

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

D. The data sets listed in the first two IF statements require a library reference

siva said...

Answer D

PE said...

Answer D

prachi said...

y so

ganesh said...


shaidacious said...

B should be the answer. because all if statements relate to non default library.

Dutchy said...

Answer is D
If I remove OUTLIB, then it does not compile.
If WORK then a libname prefix is not needed.

data work.test2 outlib.test3;
set test;
if a='dit is een' then output test2;
else output outlib.test3;run;
proc print data=test2;run;

Harsh Mohan said...

For latest and updated SAS certification dumps in PDF format contact us at
Refer our blog for more details

Post a Comment

Technology Top Blogs On our way to 1,000,000 rss feeds - Blog Directory - blogarama - the blog directory Blog Directory

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