Best way to define this job?
Best way to define this job?
I have an idea but not sure it's the best way to go about it.
*edit* We are using Control-M Enterprise Manager 6.4
Our new day is at 12:00 noon.
We need to define an Enterprise job that will run at 10:00, 14:00, and when mainframe condition CICS-PERS-DOWN is satisfied. Meaning this job should run at the specified times or if the specified condition is met.
The job will be scheduled everyday so the time condition shouldn't be an issue but how do I get the job to ignore the time conditions in regards to the CICS-PERS-DOWN condition?
Hope I explained it clear enough...
I'm thinking that there will need to be three jobs created for this. One that is scheduled for the times and a second that is waiting daily for the condition CICS-PERS-DOWN so that it can DO FORCE JOB on the third job that doesn't have time conditions.
Any help is appreciated.
*edit* We are using Control-M Enterprise Manager 6.4
Our new day is at 12:00 noon.
We need to define an Enterprise job that will run at 10:00, 14:00, and when mainframe condition CICS-PERS-DOWN is satisfied. Meaning this job should run at the specified times or if the specified condition is met.
The job will be scheduled everyday so the time condition shouldn't be an issue but how do I get the job to ignore the time conditions in regards to the CICS-PERS-DOWN condition?
Hope I explained it clear enough...
I'm thinking that there will need to be three jobs created for this. One that is scheduled for the times and a second that is waiting daily for the condition CICS-PERS-DOWN so that it can DO FORCE JOB on the third job that doesn't have time conditions.
Any help is appreciated.
Well if you new day is at noon. Then you will have to have one job run at 10:00 am and another job for the 14:00 run.
Now does the CICS condition have to be satisfied with the time restraints?
Or if the CICS condition isn there at 10:00 or 14:00 the job will run anyway?
Or does it need to have the CICS condition also?
Now does the CICS condition have to be satisfied with the time restraints?
Or if the CICS condition isn there at 10:00 or 14:00 the job will run anyway?
Or does it need to have the CICS condition also?
Not sure I'll need a second job because of time since this will be running everyday and since it will be cyclic set to run at specific times. It would likely be necessary to have two jobs if it was to run only Mon. - Fri. I believe.
These need to run in these instances:
If it is 10:00 then execute job.
If it is 14:00 then execute job.
If condition CICS-PERS-DOWN is satisfied then execute job.
They are each individual runs and not co-dependent.
... I should have explained it more like that, sorry.
These need to run in these instances:
If it is 10:00 then execute job.
If it is 14:00 then execute job.
If condition CICS-PERS-DOWN is satisfied then execute job.
They are each individual runs and not co-dependent.
... I should have explained it more like that, sorry.
Cyclic jobs will not span past a new day.JoPoCME wrote:I see this being one scheduled cyclic job, one scheduled job and one force job...
Job 1 to run at set times of 10:00 and 14:00 everyday.
Job 2 that comes in everyday waiting for condition CICS-PERS-DOWN.
Job 3, forced by the job 2, which has no conditions.
Anyone else?
They will disapper at noon
If you have a job start after noon then it can run at 14:00 and at 8:00 the next morning. that would work if you want to run it 7 days a week.
But if you need to run the job Monday morning through Friday afternoon then you need to do somthing different.
If you have a job setup to run Monday morning as cyclic at running at 8:00 that morning and at 14:00 that afternoon the job will go away at noon and wont run the 14:00 run of the job.
But if you need to run the job Monday morning through Friday afternoon then you need to do somthing different.
If you have a job setup to run Monday morning as cyclic at running at 8:00 that morning and at 14:00 that afternoon the job will go away at noon and wont run the 14:00 run of the job.