Hi everybody,
I need to design a sequence that triggers three jobs-A,B,C-. The sequence is executed multiple times a day.
I need one of the jobs- A -to be executed only once per day.
So for the first time all A,B,C jobs and after that within the same day only B and C.
Thank you for any advice.
Ovidiu
Job Sequence design
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Control whether job activity A executes with a preceding Nested Condition activity that checks A's finish time (extracted, perhaps, in an upstream Routine activity). If it's the same date as today, bypass job activity A.
Code: Select all
Routine ---> Nested Condition ------> Job A ------>
| Any Sequencer ---> Job B ---> Job C
+----------------------------->
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
You need to park a trigger file somewhere and use Execute Command Stage to read the file and determine your Steps.
The higher level Design Logic maybe something like
Step0: Cat FileA; If cmd_OutPut = CurrentDate() Then Goto Step2 Else Step1
Step1: Trigger Job A
Step2: Exec_Cmd (`date`) to a FileA
Step3: Trigger Job B
Step4: Trigger Job C
Thanks for "Thanks"
-K
The higher level Design Logic maybe something like
Step0: Cat FileA; If cmd_OutPut = CurrentDate() Then Goto Step2 Else Step1
Step1: Trigger Job A
Step2: Exec_Cmd (`date`) to a FileA
Step3: Trigger Job B
Step4: Trigger Job C
Thanks for "Thanks"
-K