How to Achieve this Logic?

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

laknar
Participant
Posts: 162
Joined: Thu Apr 26, 2007 5:59 am
Location: Chennai

Post by laknar »

Hi Mike,

Number amount currency Code CustID Address
123456 10.00 22 21 123 London
123456 10.00 22 11 234 Chennai

I have to findout duplicate based on Number ,amount,currency columns
and if code starts with 2 and populate corresponding address.

Else if code column start with 1 then populate code starts with 2 Address value.

The above is exact logic im trying.
laknar
Participant
Posts: 162
Joined: Thu Apr 26, 2007 5:59 am
Location: Chennai

Post by laknar »

Hi Mike,

Number amount currency Code CustID Address
123456 10.00 22 21 123 London
123456 10.00 22 11 234 Chennai

I have to findout duplicate based on Number ,amount,currency columns
and if code starts with 2 and populate corresponding address.

Else if code column start with 1 then populate code starts with 2 Address value.

The above is exact logic im trying.
laknar
Participant
Posts: 162
Joined: Thu Apr 26, 2007 5:59 am
Location: Chennai

Post by laknar »

Hi Mike,

Number amount currency Code CustID Address
123456 10.00 22 21 123 London
123456 10.00 22 11 234 Chennai

I have to findout duplicate based on Number ,amount,currency columns
and if code starts with 2 and populate corresponding address.

Else if code column start with 1 then populate code starts with 2 Address value.

The above is exact logic im trying.
Post Reply