Click on the Comments to view the Answers

Wednesday, January 27, 2010

Base 67

The contents of the SAS data set named PERM.STUDENTS are listed below:
name age
Alfred 14
Alice 13
Barbara 13
Carol 14
The following SAS program is submitted using the PERM.STUDENTS data set as input:

libname perm 'SAS-data-library';
data students;
set perm.students;
file 'file-specification';
put name $15. @5 age 2.;
run;
Which one of the following represents the values written to the output raw data file?
A. --------10-------20-------30
Alfred 14
Alice 13
Barbara 13
Carol 14

B. --------10-------20-------30
Alfr14
Alic13
Barb13a
Caro14

C. --------10-------20-------30
Alfr14ed
Alic13e
Barb13ara
Caro14l

D. --------10-------20-------30
Alfred 14
Alice 13
Barbara 13
Carol 14

5 comments:

SASGuru said...

Answer B
The absolute pointer @5 starts dumping the age values at position 5
data new;
length name $ 15;
input name age;
cards;
Alfred 14
Alice 13
Barbara 13
Carol 14
;
run;

data students;
set new;
file 'C:\tempt.txt';
put name $15. @5 age 2.;
run;

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

B. --------10-------20-------30
Alfr14
Alic13
Barb13a
Caro14

siva said...

Answer B

rupali rode said...

B

CompleteExamCollection said...

For latest and updated SAS certification dumps in PDF format contact us at completeexamcollection@gmail.com.
Refer our blog for more details
http://completeexamcollection.blogspot.in/2015/12/sas-certification-dumps.html

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