Load Parent and child table in a single job

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
ganesh.soundar
Participant
Posts: 9
Joined: Tue Jan 08, 2008 7:21 am
Location: Chennai

Load Parent and child table in a single job

Post by ganesh.soundar »

Hi,

I have a requirement to load three target tables which have parent and child relationship. I tried loading these three tables in a single job. The parent table got loaded and job got aborted due to referential integertity constraint in child tables.

Though i have ordered the output link using "Link Ordering" i am getting this error. We shall very well do the parent load in first job and child table load in second job.

But, can anyone please suggest how to perform this in a single job.

Thanks,
Raja
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

What database? What stage? Try with an Array Size of 1 and see if that works in your design.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply