cyclic jobs A , B ,C to run in order
cyclic jobs A , B ,C to run in order
hi All,
I have three cyclic jobs A , B ,C
I want them to run in order - A --> B--> C--->A--->B and so on
and in case of any failure pass the condition to the second and wait for its next run.
Please let me know your view . Do I need to create a Dummy job. If yes please let me know how to define the conditions for it .
I have three cyclic jobs A , B ,C
I want them to run in order - A --> B--> C--->A--->B and so on
and in case of any failure pass the condition to the second and wait for its next run.
Please let me know your view . Do I need to create a Dummy job. If yes please let me know how to define the conditions for it .
I'd create a Dummy job to kick off the Cycle by adding JOBA's in condition,
Then when JOBA finishes it deletes it's own in conditon & adds the in condition for JOBB, the cycle runs through & then JOBC kicks off JOBA
Dummy [A_in + ]->
JOBA -[A_in -] & [B_in +] ->
JOBB [B_in -] & [C_in +] ->
JOBC [C_in -] & [A_in +] ->
JOBA -[A_in -] & [C_in +] ->
JOBB [B_in -] & [C_in +] ->
& So on.
When you want the Cycle to stop set up another Dummy job to remove the in conditions.
As far as kicking off the next job on failure in the Steps tab, just set the Stmt= * & Code=* then jobs to DO OK
Hope this helps
Then when JOBA finishes it deletes it's own in conditon & adds the in condition for JOBB, the cycle runs through & then JOBC kicks off JOBA
Dummy [A_in + ]->
JOBA -[A_in -] & [B_in +] ->
JOBB [B_in -] & [C_in +] ->
JOBC [C_in -] & [A_in +] ->
JOBA -[A_in -] & [C_in +] ->
JOBB [B_in -] & [C_in +] ->
& So on.
When you want the Cycle to stop set up another Dummy job to remove the in conditions.
As far as kicking off the next job on failure in the Steps tab, just set the Stmt= * & Code=* then jobs to DO OK
Hope this helps
but if i add for Job C
In condition c
out condition c- and a +
When i Do this
JOBC [C_in -] & [A_in +] ->
A will be waiting for C
the the job A waits for condition from Job C and will not trigger the first time.[/img]
In condition c
out condition c- and a +
When i Do this
JOBC [C_in -] & [A_in +] ->
A will be waiting for C
the the job A waits for condition from Job C and will not trigger the first time.[/img]
Last edited by anirudhrh on 07 Nov 2013 3:11, edited 1 time in total.
I am extremely sorry for not understanding it properly . her is what i have done now
Dummy job
In Condition - ()
Outcondition - A
Job A
in Condition - A
Out condition - B + and A -
Job B
In condition - B
Out Condition - C and B -
Job C
In Condition - C
Out condition A+ and C-
Please let me know if anything else needs to be addded , I ma unable to ttest it as its in Production.
Dummy job
In Condition - ()
Outcondition - A
Job A
in Condition - A
Out condition - B + and A -
Job B
In condition - B
Out Condition - C and B -
Job C
In Condition - C
Out condition A+ and C-
Please let me know if anything else needs to be addded , I ma unable to ttest it as its in Production.
- vamsikumar
- Nouveau
- Posts: 10
- Joined: 23 Aug 2013 12:00
- Location: Banglore
CYCLIC JOBS A B AND C
I would make sure that I use static conditions for all jobs and not use a dummy job. Then new day processing will not affect these jobs at all, and you don't need a dummy job to start it off every day.
The only catch is that you need to trigger the first job on the very first instance (not daily but just once only).
The only catch is that you need to trigger the first job on the very first instance (not daily but just once only).
Re: CYCLIC JOBS A B AND C
Hi,
No need to create a dummy job.
I created the cycle in my Dev environment looks good. Below is the detail what I did.
JOb A:
out condition Job_A-OK +
Time: from 1200 to 2300 I wanted my cycle to run in this time fram.
Step Tab: On: NOTOK
DO: condition Job_A-OK
ODAT
+
Job B:
Incondition: Job_A-OK
outcondition: Job_B-OK
Step tab: On: OK
DO: condition Job_A-OK
ODAT
-
On: NOTOK
DO: condition Job_A-OK
ODAT
-
On: NOTOK
DO: condition Job_B-OK
ODAT
+
Job C:
Incondition: Job_B-OK
out: Job_C-OK
Step tab: On: OK
DO: condition Job_B-OK
ODAT
-
On: NOTOK
DO: condition Job_B-OK
ODAT
-
In this way my cycle keeps running no matter any of the job is fails.
I hope I have not confused you again
No need to create a dummy job.
I created the cycle in my Dev environment looks good. Below is the detail what I did.
JOb A:
out condition Job_A-OK +
Time: from 1200 to 2300 I wanted my cycle to run in this time fram.
Step Tab: On: NOTOK
DO: condition Job_A-OK
ODAT
+
Job B:
Incondition: Job_A-OK
outcondition: Job_B-OK
Step tab: On: OK
DO: condition Job_A-OK
ODAT
-
On: NOTOK
DO: condition Job_A-OK
ODAT
-
On: NOTOK
DO: condition Job_B-OK
ODAT
+
Job C:
Incondition: Job_B-OK
out: Job_C-OK
Step tab: On: OK
DO: condition Job_B-OK
ODAT
-
On: NOTOK
DO: condition Job_B-OK
ODAT
-
In this way my cycle keeps running no matter any of the job is fails.
I hope I have not confused you again