
Still unclear. If you spell out what needs to happen
in writing under all conditions, it should be pretty easy to do whatever it is you need to do.
If ColumnA = 'dsx' then populate TARCOL1
with what?
If ColumnA is null, then populate TARCOL2 & TARCOL3
with what?