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
dudam
Participant
Posts: 11
Joined: Sun Feb 27, 2011 9:40 am

Scenario

Post by dudam »

Hi to all

I have a one scenario like..

Source Target
C1 C2 first run
A 10 A 10 1 1
B 20 B 20 2 1
C 30 C 30 3 1

Second Run
A 10 1 2
B 20 2 2
C 30 3 2


Third Run

A 10 1 3
B 20 2 3
C 30 3 3



How we can solve ...plz help me

Thanks in Advance
DN
kandyshandy
Participant
Posts: 597
Joined: Fri Apr 29, 2005 6:19 am
Location: Singapore

Post by kandyshandy »

Why on friday? ;)

Explain us what you are trying to achieve in english.
Kandy
_________________
Try and Try again…You will succeed atlast!!
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

kandyshandy wrote:Why on friday?
Are you wearing your Hawaiian shirt today? :wink:
Choose a job you love, and you will never have to work a day in your life. - Confucius
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Re: Scnario

Post by qt_ky »

dudam wrote:How we can solve ...plz help me
Add a column with Transformer stage derivation of system variable @INROWNUM.

Add +1 to the final column value, assuming an initial value of zero.

Problem solved! :?:
Choose a job you love, and you will never have to work a day in your life. - Confucius
kandyshandy
Participant
Posts: 597
Joined: Fri Apr 29, 2005 6:19 am
Location: Singapore

Post by kandyshandy »

What about second & third run's output? :roll:
Kandy
_________________
Try and Try again…You will succeed atlast!!
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

1st-3rd run output looks the same except last column increments. Try it and see...
Choose a job you love, and you will never have to work a day in your life. - Confucius
Post Reply