Output from aggregator & xformer to single sequential ta

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
Kel
Participant
Posts: 31
Joined: Mon May 11, 2015 3:20 am
Location: Robinsons Cybergate Tower 2
Contact:

Output from aggregator & xformer to single sequential ta

Post by Kel »

I have 3 input links: 2 from aggregator stages and 1 from transformer that must be moved to a single target file. What would be the stage to be used? We cannot use funnel since fields are all unique. Responses will be very much appreciated.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I wonder if you could use an External Target stage using the cat command and runtime column propagation, and a collection algorithm that exhausts each input before moving on to the next?
Last edited by ray.wurlod on Tue May 12, 2015 3:58 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

You could concatenate all columns and delimiters from all links into a single varchar column then funnel them into your target file.
Choose a job you love, and you will never have to work a day in your life. - Confucius
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

:idea:
This (qt_ky's suggestion) is the exact purpose of the Column Export stage.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply