yanan9256 发表于 2011-10-25 16:03 
谢谢您的指点
那么我又有了一个新的疑惑
There are a couple of knowledge point here,
1) fixed length data file vs. variable length data file 
2) input statement with an informat implied variable type + length taken from data. Your input statement style also implies space delimiter.
yymmdd10. has length 10
record: 赵霞 女 东北 1998-9-6 2010
length of 1998-9-6 2=10
the left 010 = 10 as of numeric representation.
if you change 2010 to 2110, the money will show 110.
Why SAS takes 1998-9-6 2 and correctly interprets it as 1998-9-6 is beyond my knowledge. My guess is a space matters here. Sorry!