剛才原本要改內文的 不小心就把文章砍了 @@"
先和有推文的大大 說聲抱歉 ^^"
我的檔案中的變項 有地名 如 台北 台中 高雄 是中文的
由於資料筆量大 所以不考慮以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