Click on the Comments to view the Answers

Wednesday, January 27, 2010

Q11

The observations in the SAS data set WORK.TEST are ordered by the values of the variable SALARY.

The following SAS program is submitted:

proc sort data = work.test out = work.testsorted;
by name;
run;

Which one of the following is the result of the SAS program?
A. The data set WORK.TEST is stored in ascending order by values of the NAME variable.
B. The data set WORK.TEST is stored in descending order by values of the NAME variable.
C. The data set WORK.TESTSORTED is stored in ascending order by values of the NAME variable.
D. The data set WORK.TESTSORTED is stored in descending order by values of the NAME variable.

7 comments:

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

C. The data set WORK.TESTSORTED is stored in ascending order by values of the NAME variable

pal said...

ya its C

siva said...

Answer C

Ryan Lo said...

Answer is C.

kinnari said...

Ans- C as here we are give out=new data set name

Unknown said...

The program has syntax error ..so will not execute ...there should be a ; after proc sort data = work.test

Anonymous said...

Chancal there is no syntax error.
the statement reads
proc sort data = work.test out = work.testsorted; when there is a OUT = you dont put a ; after the proc sort data=.

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