Click on the Comments to view the Answers

Friday, January 22, 2010

SAS 19

In order to sequentially read multiple records to create a single observation,
what condition must be in place to succeed?

A) The records must be in free format.
B) Variables have to be specified explicitly
C) The #n line pointer has to be specified
D) The number of observations for each record must be the same

7 comments:

SASGuru said...

Answer: D
Reasoning: The only correct answer is that the number of
observations for each record must be the same.

GG said...

isn't that supposed to be the number of records for each observation must be the same.

kat said...
This comment has been removed by the author.
kat said...

i know it is not A.
D is not either and i agree with GG.
so it is either B or C.
but in order to read multiple records to create a single observation, you do not have to use #n pointer. you can simply split the input statements into a few lines to match the records you want to read in. if that is what B is trying to say, then B is the answer.

Unknown said...

I don't like the way the question is worded but it is D. Try messing with the number of variables in the below code and it won't work as intended:

data test;
infile cards;
input name $ age1-age6;
cards;
gus 1 2 3
4 5 6
jack 1 2 3
4 5 6
;
run;

Unknown said...

It couldn't be C, since to read multiple records sequentially you have to use / line pointer control, not necessary # pointer control. I would say, that number of records must be the same for each observation, but there is not such an answer.

H. C. said...

D, but the question has a typo which should be "D) The number of records for each observation must be the same"

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