close all use thred2 in 0 index on no to kk use aa2005 in 0 index on no to kk1 scan replace thred2.salar with aa2005.salar for aa2005.no=thred2.no endscan