|
data a;
input stk $ stkcd $ 8. date hangye $ hd $ stktc $;
informat date yymmdd10.; format date yymmdd10.;
cards;
000001 深发展A 2007-12-31 金融 0001 000013
000002 万科A 2007-12-31 房地产 0003 000017
000006 深振业A 2007-12-31 房地产 0003 000030
000012 南玻A 2007-12-31 工业 0005 000035
000014 沙河股份 2007-12-31 房地产 0003 000156
000016 深康佳A 2007-12-31 工业 0005 000405
000019 深深宝A 2007-12-31 工业 0005 000529
000021 长城开发 2007-12-31 工业 0005 000536
000022 深赤湾A 2007-12-31 公用事业 0002 000536
000023 深天地 2007-12-31 房地产 0003 000542
000024 招商地产 2007-12-31 房地产 0003 000556
000025 特力A 2007-12-31 综合 0004 000560
000026 飞亚达A 2007-12-31 工业 0005 000566
000027 深圳能源 2007-12-31 工业 0005 000592
000028 一致药业 2007-12-31 工业 0005 000613
000029 深深房A 2007-12-31 房地产 0003 000620
000031 中粮地产 2007-12-31 房地产 0003 000621
000032 深桑达A 2007-12-31 工业 0005 000631
000033 新都酒店 2007-12-31 商业 0006 000633
000036 华联控股 2007-12-31 工业 0005 000658
000037 深南电A 2007-12-31 工业 0005 000675
000039 中集集团 2007-12-31 工业 0005 000039
;
run;
proc sql;
create table b as select * from a
where stk not in (select stktc from a );
quit;
|