Need to run few jobs in a job sequence

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
jeet_81
Participant
Posts: 12
Joined: Thu Oct 27, 2011 7:01 am
Location: India

Need to run few jobs in a job sequence

Post by jeet_81 »

Hi all,

I have a condition to run only few jobs out of a job sequence. For example I have created a job sequnce which connects multiple job sequnce which are responsible of running multiple jobs.
Please help, how to run only few sequences out of the master job sequence? :)
BI-RMA
Premium Member
Premium Member
Posts: 463
Joined: Sun Nov 01, 2009 3:55 pm
Location: Hamburg

Post by BI-RMA »

I suppose You will have to build a logic that increases a counter when starting a sequence and decreases the same counter when finishing. Start a new sequence only when the counter is below a certain threshold. You can keep the counter in a hashed-file or database-table. Use Server Jobs to maintain and read your counter. You should find ways to make use of the UserStatus variable to pass a parameter string to follow-up jobs in this forum.
"It is not the lucky ones are grateful.
There are the grateful those are happy." Francis Bacon
Post Reply