作者kllin (kllin)
看板Statistics
标题[问题] [SAS] 中文变项...
时间Mon Jul 7 22:27:06 2008
刚才原本要改内文的 不小心就把文章砍了 @@"
先和有推文的大大 说声抱歉 ^^"
我的档案中的变项 有地名 如 台北 台中 高雄 是中文的
由於资料笔量大 所以不考虑以EXCEL 的取代功能更改 (XD 我也想用EXCEL改)
我要做直横的转换
PROC TRANSPOSE DATA=temp1 OUT=temp2;
BY date;
VAR abc;
ID name;
RUN;
当中 这个name就是我的地名(中文变项)
可是跑下去之後
log出现红字
ERROR: The ID value "_j__" occurs twice in the same BY group.
ERROR: The ID value "____" occurs twice in the same BY group.
ERROR: The ID value "____" occurs twice in the same BY group.
ERROR: The ID value "____" occurs twice in the same BY group.
ERROR: The ID value "_e__" occurs twice in the same BY group.
ERROR: The ID value "___F" occurs twice in the same BY group.
ERROR: The ID value "____" occurs twice in the same BY group.
ERROR: The ID value "____" occurs twice in the same BY group.
ERROR: The ID value "_s__" occurs twice in the same BY group.
ERROR: The ID value "_s__" occurs twice in the same BY group.
ERROR: The ID value "_s__" occurs twice in the same BY group.
ERROR: The ID value "____" occurs twice in the same BY group.
ERROR: The ID value "_U__" occurs twice in the same BY group.
ERROR: The ID value "____" occurs twice in the same BY group.
ERROR: The ID value "___s" occurs twice in the same BY group.
ERROR: The ID value "____" occurs twice in the same BY group.
ERROR: The ID value "_s__" occurs twice in the same BY group.
ERROR: The ID value "____" occurs twice in the same BY group.
ERROR: The ID value "____" occurs twice in the same BY group.
NOTE: The above message was for the following by-group:
DATE=01/01/1995
......
......
......
不知道是怎样子 他看不懂中文吗...@@"
如果我把 ID name 的地方 name改为别的文字变项试过之後
又很正常
请问这样如何解呀 @@"
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 123.204.44.10