How to create dependency between two independent pipelines

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
samuelmj
Participant
Posts: 3
Joined: Tue May 08, 2012 12:18 pm

How to create dependency between two independent pipelines

Post by samuelmj »

I have two pipelines in the job.

I would like to know how to create a dependency, such that one pipelines runs first and then the other one.

Both the pipelines are independent, taking data from different source table and loading into different tables.

I could create two jobs and create a dependency in the sequencer, but I would like to know if this can be done in the same job.
Sam
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Technically, I suppose you could take pipeline1 and copy part of it into a Lookup stage as the reference link. My opinion is that the proper way is what you mentioned already using 2 jobs plus a sequence job. It would depend on your reason or if you're just curious.
Choose a job you love, and you will never have to work a day in your life. - Confucius
samuelmj
Participant
Posts: 3
Joined: Tue May 08, 2012 12:18 pm

Post by samuelmj »

Thank you for the response...

I was working with Informatica PowerCenter and recently started working with DataStage.

In Informatica there is an option called, target load order. which can be set, which determines which pipleline in the mapping runs firts.

I was wondering if there is any such option in datastage.

Thank u.
Sam
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

No, there is no equivalent to Informatica's "Target Load Plan".
Last edited by chulett on Wed May 09, 2012 1:19 pm, edited 1 time in total.
-craig

"You can never have too many knives" -- Logan Nine Fingers
samuelmj
Participant
Posts: 3
Joined: Tue May 08, 2012 12:18 pm

Post by samuelmj »

Thanks Craig appreciate it.
Sam
Post Reply