b******s 发帖数: 345 | 1 The contents of CALENDAR are listed below:
----|----10---|----20---|----30
01012000
The following SAS program is submitted:
data test;
infile 'calendar';
input @1 date mmddyy10.;
if date='01012000'd then event='january 1st';
run;
Which one of the following is the value of the EVENT variable?
A. 01012000
B. January 1st
C. .(missing numeric value)
D. The value can not be determined as the program fails to execute due to
errors.
Answer: D
程序运行后与D所说一致。不过我不知道这道题的考点是什么? 如果改动 date值,才
能使程序运行呢? 请指教,谢谢! |
|