[程式] sas合併檔案,排除a檔中和b檔共同的id

看板Statistics作者 (take it easy)時間15年前 (2010/06/06 13:25), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
data a; input id $ point; cards; aa 90 bb 85 cc 60 ; data b; input id $; cards; cc ; 我想做出的output是 aa 90 bb 85 也就是排除a.b檔中共有的id 以往在留下兩檔共有id時,程式的寫法是 merge a b(in=x); by id; if x; 但這次要排除兩檔共有的id,有類似的語法嗎? 謝謝^^ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 124.12.8.110
文章代碼(AID): #1C2p4nal (Statistics)
文章代碼(AID): #1C2p4nal (Statistics)