|
楼主

楼主 |
发表于 2012-4-26 07:23:23
|
只看该作者
问一base 题
问一Base题:
SAS Certified Base Programmer 123 Questions (9)
A raw data record is listed below:
----|----10---|----20---|----30
son,Travis,
The following output is desired:
relation firstname
son Travis
Which one of the following SAS programs reads the data correctly?
A.
data family / dlm = ',';
infile 'file-specification';
input relation $ firstname $;
run;
B.
option dlm = ',';
data family;
infile 'file-specification';
input relation $ firstname $;
run;
C.
data family;
infile 'file-specification' option dlm = ',';
input relation $ firstname $;
run;
D.
data family;
infile 'file-specification';
input relation $ firstname $ / dlm = ',';
run;
正确答案是C, 但好像不用 “opions”这个词,。。然后B选项那里不行啊!!
<!-- m --><a class="postlink" href="http://sas.1or9.com/archives/sas-certified-base-programmer-123-questions-9/">http://sas.1or9.com/archives/sas-certif ... estions-9/</a><!-- m --> |
|