标题: 跟crakman做sas base认证试题(66) [打印本页] 作者: shiyiming 时间: 2010-11-13 17:40 标题: 跟crakman做sas base认证试题(66) From crackman's blog on Baidu
<p><font size="4" face="宋体">68.The following SAS program is submitted:<br>
<br>
data WORK.ACCOUNTING;<br>
set WORK.DEPARTMENT;<br>
length EmpId $6;<br>
CharEmpid=EmpId;<br>
run;<br>
<br>
If data set WORK.DEPARTMENT has a numeric variable EmpId,which statement is true about the output dataset?</font></p>
<p><font size="4" face="宋体"> A. The type of the variable CharEmpid is numeric.<br>
B. The type of the variable CharEmpid is unknown.<br>
C. The type of the variable CharEmpid is character.<br>
D. The program fails to execute due to errors. </font></p>
<p><font size="4" face="宋体">Answer: D </font></p>
<p><br>
<font size="4" face="宋体">这里主要是LENGTH定义数据的格式与WORK.DEPARTMENT中的数据格式存在冲突。</font></p>
<p> </p> <a href="http://hi.baidu.com/crack%5Fman/blog/item/ced0a21c2d4cb41734fa4114.html">阅读全文</a>