Search code examples
schedulingcontrol-m

Scheduling issues with Control-M


I am working on scheduling some jobs using Control-M. My scenario is as below:

I have the following jobs - Job 1, Job 2, Job 3 and Job 4. All of them does an insert into the same table. I have to schedule all the four jobs to start at the same time. Since they are inserting into the same table, I am running into lock issues.

I cannot add a dependency between these jobs because I will be adding more jobs to this stream. Also, there are no logical dependencies between these jobs.

Also, all these jobs call the same script, but with different parameters.

Is there any way to handle this issue?


Solution

  • One way is to use the "Resources" properties for the tasks. If they all need the same exclusive or limited to 1 in quantity resource then they will get run one at a time.