59%macro irmc_cf_eliminated_remap( ds_in_cf =
60 , ds_in_short_position =
61 , working_libname = work
67 data &working_libname..eliminated_cf;
70 declare hash h_eliminated(dataset:
"&ds_in_short_position.(drop=instid rename=(orig_instid=instid)");
71 h_eliminated.definekey(
"instid");
72 h_eliminated.definedone();
74 rc_eliminated=h_eliminated.find();
75 if rc_eliminated=0 then output;
85 create table &ds_out. as
86 select A.instid, A.orig_instid, b.*
87 from &ds_in_short_position. A full join &working_libname..eliminated_cf B
88 on A.orig_instid = B.instid;
93 if ((valDate ne .) and (valType ne
"") and (valAmount ne .)) then output;
97%mend irmc_cf_eliminated_remap;