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

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?

所有跟帖: 

我再试试吧 -veggiedoggie- 给 veggiedoggie 发送悄悄话 veggiedoggie 的博客首页 (341 bytes) () 01/13/2010 postreply 10:13:30

谢谢专家。我没有msg。我是在吃饭。我今天也不再上来了。 -戏雨飞鹰- 给 戏雨飞鹰 发送悄悄话 戏雨飞鹰 的博客首页 (0 bytes) () 01/13/2010 postreply 10:16:00

我明白你说的意思.我看过format,就是没记住。我要系统地看一下~~ -戏雨飞鹰- 给 戏雨飞鹰 发送悄悄话 戏雨飞鹰 的博客首页 (0 bytes) () 01/13/2010 postreply 10:18:06

format, free -戏雨飞鹰- 给 戏雨飞鹰 发送悄悄话 戏雨飞鹰 的博客首页 (0 bytes) () 01/13/2010 postreply 10:20:36

好像只有两个呢? -:-}- 给 :-} 发送悄悄话 :-} 的博客首页 (0 bytes) () 01/13/2010 postreply 11:09:18

回复:菜菜谋谋,来看看这个sas题目 when you feel free。 -两问号- 给 两问号 发送悄悄话 两问号 的博客首页 (92 bytes) () 01/13/2010 postreply 16:39:05

还有, -两问号- 给 两问号 发送悄悄话 两问号 的博客首页 (153 bytes) () 01/13/2010 postreply 16:52:35

you are right. thanks. -戏雨飞鹰- 给 戏雨飞鹰 发送悄悄话 戏雨飞鹰 的博客首页 (186 bytes) () 01/13/2010 postreply 17:04:46

感谢两问号朋友。 高兴认识您。 -戏雨飞鹰- 给 戏雨飞鹰 发送悄悄话 戏雨飞鹰 的博客首页 (0 bytes) () 01/13/2010 postreply 16:54:00

不用客气, -两问号- 给 两问号 发送悄悄话 两问号 的博客首页 (28 bytes) () 01/13/2010 postreply 17:03:38

谢谢。最近来得很少,想准备sas考试。 -戏雨飞鹰- 给 戏雨飞鹰 发送悄悄话 戏雨飞鹰 的博客首页 (0 bytes) () 01/13/2010 postreply 17:06:25

如果单纯是为了考试的话, -两问号- 给 两问号 发送悄悄话 两问号 的博客首页 (228 bytes) () 01/13/2010 postreply 18:33:17

谢谢两问号,谢谢你的解答和建议。 -戏雨飞鹰- 给 戏雨飞鹰 发送悄悄话 戏雨飞鹰 的博客首页 (157 bytes) () 01/13/2010 postreply 19:12:41

请您先登陆,再发跟帖!