datastage scenario

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
vijayasarathi7
Participant
Posts: 3
Joined: Mon Nov 25, 2013 1:37 am

datastage scenario

Post by vijayasarathi7 »

source one column name is id
1
2
3

i want target is

id
1
2
3
1
2
3
1
2
3
how you it
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

You start by stating the requirement in words, and include an example. All you have so far is an example.
Choose a job you love, and you will never have to work a day in your life. - Confucius
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yes, please - use your words, don't make people puzzle out your requirement from a made up example.
-craig

"You can never have too many knives" -- Logan Nine Fingers
MrBlack
Participant
Posts: 125
Joined: Wed Aug 08, 2012 8:57 am

Post by MrBlack »

Are you trying to triplicate the number of rows you have in the end? Starting out with 3 rows and you want to have 9 in the end? With not having a lot of information here's what you do. Create a sequence with a loop of 3 loops. Then have it run your job three times.
stuartjvnorton
Participant
Posts: 527
Joined: Thu Apr 19, 2007 1:25 am
Location: Melbourne

Post by stuartjvnorton »

Thanks, OP. I needed a chuckle this morning.
JKenklies
Premium Member
Premium Member
Posts: 30
Joined: Mon Mar 05, 2007 3:02 am
Location: Hamburg, Germany

Post by JKenklies »

Please read this sticky thread:

:arrow: viewtopic.php?t=96330
This will help you to help us helping you. :wink:


:idea: Add a Transformer stage to your Job with 3 output links. In Transformer, map the ID field to all output links. Then use a Funnel stage to "Union all" the 3 links.
Post Reply