菜菜谋谋,来看看这个sas题目 when you feel free。

来源: 2010-01-13 10:04:14 [博客] [旧帖] [给我悄悄话] 本文已被阅读:

The contents of the raw data file AMOUNT:

----|----10---|----20---|----30
$1,234

The following SAS program is submitted:

data test;
infile'amount';
input @1 salary 6.;
run;

what's wrong with the program above?
i think there should be a error existing, so there is a missing numeric value for salary. correct?

then how can we read the number 1234 correctly?