please tell me the logic for this....

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
thirupathireddy.gankidi
Participant
Posts: 19
Joined: Mon Aug 08, 2011 3:20 am

please tell me the logic for this....

Post by thirupathireddy.gankidi »

Hi,
can anyone please tell me the logic to implement this scenario...


my source is coming like,

id
---
2
5
3

and target is,

id
---
2
2
5
5
5
5
5
3
3
3


Thanks in advance


Regards,
------
Thiru
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

You want loop and duplication. What version of datastage are you on?
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Transformer stage looping in DataStage 8.5 or higher can do exactly that.
Choose a job you love, and you will never have to work a day in your life. - Confucius
thirupathireddy.gankidi
Participant
Posts: 19
Joined: Mon Aug 08, 2011 3:20 am

Post by thirupathireddy.gankidi »

i am using datastage 8.5 version
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Do what Eric suggested.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Thiru, visit the loop section of the Parallel Job Developer's Guide. It has pretty good examples that can help you on this. The PDF should be installed on your client by default.
Choose a job you love, and you will never have to work a day in your life. - Confucius
thirupathireddy.gankidi
Participant
Posts: 19
Joined: Mon Aug 08, 2011 3:20 am

Post by thirupathireddy.gankidi »

Thanks Eric
Post Reply