Transformer logic required

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

Post Reply
deesh
Participant
Posts: 193
Joined: Mon Oct 08, 2007 2:57 am

Transformer logic required

Post by deesh »

Hi,

find belo criteria and required output

Input
-------

Code: Select all

type  amount  city

A                    NW
B       200
A                    DL
B        500
Output
--------

Code: Select all

Type    Amount   
A            700
I required like above output need to get two rows record into single row record.

Please can any one help in this case
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

What have you tried?
-craig

"You can never have too many knives" -- Logan Nine Fingers
deesh
Participant
Posts: 193
Joined: Mon Oct 08, 2007 2:57 am

Post by deesh »

Problem has been solved with used by lookup and aggregator stage... :)
Post Reply