How to use SED command to get below output in desc? : My input is "INTC_KEY,ABC1|OBJID,ABC2".
And I want to send the output to the file like 
DDS.INTC_KEY = REPL.OBJID AND DDS.ABC1 = REPL.ABC2

Thanks,
Eshan