Multiple independent flows in one parallel 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
schp9
Participant
Posts: 1
Joined: Thu Mar 03, 2016 7:22 am

Multiple independent flows in one parallel job

Post by schp9 »

I want to have 3 flows in by job like below

Code: Select all

 
Source 1 -> Transformation -> Target1

Source 2 -> Transformation -> Target2

Source 3 -> Trasformation  -> Target3 

How can I control these flows as below scenario?

All can be triggered together or each can triggered manually?

I am considering using parameters, but not getting clarity on how to control the flow.

Please help!
schp9
Thomas.B
Participant
Posts: 63
Joined: Thu Apr 09, 2015 6:40 am
Location: France - Nantes

Post by Thomas.B »

According to my knowledge, you can't control 3 independent data flows in a single parallel job.
The only way is to split your job in 3 sub-Jobs and call them with a Sequence Job.

That's a lot of jobs.
BI Consultant
DSXConsult
FranklinE
Premium Member
Premium Member
Posts: 739
Joined: Tue Nov 25, 2008 2:19 pm
Location: Malvern, PA

Post by FranklinE »

I have a standard PX second job-flow in many jobs. It creates a stand-by dummy file if there is no data in the current day's input. It always runs.

As for control, Thomas is correct: that is what job sequences are for. Create one job for each flow (three in your sample) and create a job sequence for each scenario. Research the sequence stage palate for branching and logical controls. They are there. Job sequences are as parameterized as you want them to be.
Franklin Evans
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson

Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872
Post Reply