View previous topic :: View next topic
|
Author |
Message |
surya_pathaus
Active User
Joined: 28 Aug 2006 Posts: 110
|
|
|
|
Hi,
I have two job flows scheduled in CA7. Both job flows have 100s of jobs.
I want to set a dependency in between two like both should not execute at the same time.
If 1st job flow is kicked off then 2nd job flow should wait until 1st completes.
This can be vice versa..
first 2nd job flow can run then 1st can be kicked off when 2nd job flow completes.
Please advice. |
|
Back to top |
|
|
Srinivasa Rao
New User
Joined: 21 Jun 2005 Posts: 75
|
|
|
|
The two jobs should be exclusive to eachother. Add the jobs in predecessor/successors with exclusive mark '/' to each job. it would be ok. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Are you saying that the second string of jobs can not execute until each and every job in the first string has completed ?
Looks to me that you have a rather badly designed batch suite to me, and time would be better spent in sorting that out rather than just delaying jobs.
But if we had more information .................... |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
surya_pathaus wrote: |
If 1st job flow is kicked off then 2nd job flow should wait until 1st completes. |
IF..??
This is not the way schedulers work on - Either the JOB is "predecessor" or "Successor"; once a JOB is sechduled as a "predecessor" it'll always execute before other JOB (or vice-versa) unless you have two different sechduler events which load the same JOBs. But even if this is your case, they need to be sechdule right way & one is always a predecessor or successor..
Well, yes I need to echo Expat -
Quote: |
.. if we had more information |
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
|