executing sequences in parallel within a batch

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
altruist
Participant
Posts: 73
Joined: Thu May 11, 2006 6:50 am

executing sequences in parallel within a batch

Post by altruist »

Hi All,


I created a batch to run the sequences in order, i.e one after the other. But I want to CERTAIN sequences to run in parallel. How can i do that.


Thank You
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

One way you can do it is by designing another sequence job to call the CERTAIN sequences to run in parallel. Then call the new sequence job in your batch job.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Or just reorder the statements in the Job Control code so that, instead of Run Wait Run Wait Run Wait, you have Run Run Run Wait Wait Wait.

The job sequence approach is better, as it frees each job's resources as soon as each is finished, rather than waiting for all to have finished.
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