Page 1 of 1

help with schedule job cyclic

Posted: 01 Aug 2014 8:44
by davidtuti
Hi,
I need a Job cyclic that execute from 0400 to 2200 hours.
If I have the new procedure day at 07.00.
How could I schedule? If I put 2200 until don't execute. The job does not delete with new procedure day?
Any help?
Many thanks

Re: help with schedule job cyclic

Posted: 01 Aug 2014 12:04
by fyot
Hi

Look this post

Re: help with schedule job cyclic

Posted: 01 Aug 2014 1:04
by davidtuti
fyot wrote:Hi

Look this post
Thanks
But I cant solve my problem with these post.

I detail my problem:
I have a job cyclic from 04.00, and the job must execute every 30 minutes. Normally it fails and I search a determinate string to ended OK so by these way don't generate alert.
I have other condition in steps that if ended ok with compstat=0 add other condition to execute the post job.

The problem is that job must execute from 04.00 to 22.00 (as long as the job not ended with compstat=0) and the new procedure day begins at 07.00 so the cyclic job is deleted at 07.00

Do you know some solution that could I apply?
Thanks, sorry for my english!

Re: help with schedule job cyclic

Posted: 01 Aug 2014 1:54
by fyot
Other way is to have two job identical but up to plan to the day after.

First from 4:00 to 7:00
Second from NDP to 22:00

If job need to wait conditions, use PREV date in job definition.

Re: help with schedule job cyclic

Posted: 01 Aug 2014 2:04
by davidtuti
fyot wrote:Other way is to have two job identical but up to plan to the day after.

First from 4:00 to 7:00
Second from NDP to 22:00

If job need to wait conditions, use PREV date in job definition.

But.. .if the job finished OK at 0600 and also the post jobs. The jobs identical of the day after should not execute it

Re: help with schedule job cyclic

Posted: 01 Aug 2014 2:11
by fyot
If job wait a condition, and if you delete condition after execution,
each of will not start if condition doesn't exist.

Re: help with schedule job cyclic

Posted: 07 Aug 2014 2:26
by jCarlos
does your ajf refresh on 0700?

Re: help with schedule job cyclic

Posted: 07 Aug 2014 5:00
by davidtuti
jCarlos wrote:does your ajf refresh on 0700?
Yes

Re: help with schedule job cyclic

Posted: 07 Aug 2014 8:26
by fyot
But.. .if the job finished OK at 0600 and also the post jobs. The jobs identical of the day after should not execute it
No, new jobs will have new depencies considering new ODATE.
Jobs defined to be executed after 0700 must have condition with PREV ODATE