How to pause job execution for availability of the job
Posted: Mon Sep 30, 2013 10:30 am
Hi All,
we have a scenario where job A will be used by sequencers X and Y and we can not make job A multiple instance because of a limitation with the ABAP stage RFC connections.
If X and Y sequencers are started at the same time, one of the sequencers will fail because job A will already be in 'running' status from the other sequencer.
Is there a way we can make the second sequencer wait for the job to become available instead of aborting? something like get job status, if it is not in ready to run status, wait for 30 seconds and re check the job status...
We don't have any external scheduling tools...we run our jobs from director, on demand.
Appreciate your help!
Thanks.
Preethi
we have a scenario where job A will be used by sequencers X and Y and we can not make job A multiple instance because of a limitation with the ABAP stage RFC connections.
If X and Y sequencers are started at the same time, one of the sequencers will fail because job A will already be in 'running' status from the other sequencer.
Is there a way we can make the second sequencer wait for the job to become available instead of aborting? something like get job status, if it is not in ready to run status, wait for 30 seconds and re check the job status...
We don't have any external scheduling tools...we run our jobs from director, on demand.
Appreciate your help!
Thanks.
Preethi