EXECSQLUPDATEIMLC_MASTERsetAPPL_ID=(selectdistinctNEWIDfromCUST_MAPPINGwhereIMLC_MASTER.APPL_ID=CUST_MAPPING.OLDID)whereappl_idin(selectdistinctOLDIDfromCUST_MAPPING)andc_unit_code=:sargv;