Prevention of same job stream runs simultaneously at a single point of time.
search cancel

Prevention of same job stream runs simultaneously at a single point of time.

book

Article ID: 225037

calendar_today

Updated On:

Products

CA 7 Workload Automation

Issue/Introduction

Request to setup a stream of Jobs in CA 7 in such a way that, the same job stream (contains more than one jobs), runs every hour and one after the another.

The same job stream should not run simultaneously at a single point of time.  It should have the below sample schedule:

Mon-Fri   7AM-23 PM

Sat, sun  8AM-20PM

 

Resolution

Since the same flow of job run every hour, you would need to control the stream using SCHIDs. 

Using the example of A triggering B and B triggering C and C triggering D. 

Build a schedule for A with a SCHID=10 to run at 7AM and hardcode B with the same SCHID=10 for C and D.

Then Build a schedule for A with a SCHID=20 to run at 8AM and hardcode B with the same SCHID=20 for C and D. 

Make D dependent on A.  Then, you go to the db.3 panel and make D under SCHID=20 dependent on A. 

Then make D under SCHID=10 dependent on A.