Delta Run(Partial Run)

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
vitumati
Participant
Posts: 27
Joined: Tue Sep 07, 2010 11:38 pm

Delta Run(Partial Run)

Post by vitumati »

Hello Friends.

I have 100000(1 Laks)data in my source.
I need ti design i job like first I need load 50000 Records to target in 1st Run.
Similarly 2nd Run I need to load only remaining 50000 records.
Could you please help me this issue.


Thanks
-----------
Vijay.
Abhinav
kkalyanrao@gmail.com
Participant
Posts: 11
Joined: Thu Feb 10, 2011 1:09 am
Location: Kuala Lumpur

Post by kkalyanrao@gmail.com »

Hi,

One option would be to create two copies of the job and using a transformer stage in both jobs , put a contstraint to fetch first 50k records (@INROWNUM < 50K) in the 1st job and fetch rest in the second job(@INROWNUM > 50K).
priyadharsini
Participant
Posts: 40
Joined: Mon May 11, 2009 12:19 am
Location: Madurai

Post by priyadharsini »

The constraint should be based on the number of nodes the job is running.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Dare we ask why these runs have to be consecutive?

If you allocate two readers per node to the Sequential File stage (and I'm making a big assumption about the source there) you will have the division that you desire. They will execute concurrently, but load into the target on what are effectively separate connections.
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