Regarding Aggregator Stage

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Saama
Premium Member
Premium Member
Posts: 83
Joined: Wed Nov 22, 2006 6:42 pm
Location: Pune
Contact:

Regarding Aggregator Stage

Post by Saama »

Hi Gurus,

My design is odbc------> aggregator-------->odbc
--------------->sequential file.

Sorry my design is not clear.

Actually i am connecting aggregator stage to ODBC and Sequential file.

i want to calculate the sum and store in the ODBC, while the remaining columns should go to sequential file.

my source stage has columns like empno,ename,sal,dept
target odbc stage should store sum(sal), while target sequential file should have all the remaining columns.
Is it possible, please help me.

cheers;
vijay
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Sure. Use a transformer to split your columns. Pass the gouping keys and sum to odbc and the remaining to the sequential file stage.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Saama
Premium Member
Premium Member
Posts: 83
Joined: Wed Nov 22, 2006 6:42 pm
Location: Pune
Contact:

Post by Saama »

Hi Gurus,
Thanks very much.Iam marking this topic as resolved.

cheers;
saama
Post Reply