Reevaluate broken events or events with past dates - SCHEDULEALLEVENTS REEVALUATESCHEDULES(TRUE)
search cancel

Reevaluate broken events or events with past dates - SCHEDULEALLEVENTS REEVALUATESCHEDULES(TRUE)

book

Article ID: 230951

calendar_today

Updated On:

Products

CA Workload Automation DE CA Workload Automation DE - Scheduler (dSeries)

Issue/Introduction

How does DE (ESP dSeries) re-schedule events which used specific calendar days and dates are in past?

Environment

Release : 12.1,12.2,12.3

Component :

Resolution

In DE (ESP dSeries) 12.1 and higher, there is a new switch REEVALUATESCHEDULES under SCHEDULEALLEVENTS.  If an event uses specific days from calendar which have only one day, then after the event execution the event will not have a next scheduled time.

E.g. HANUKKAH, EASTER or DIWALI may vary each year.

If the calendar enter for a holiday or Special day has only one entry (date) then event will be blank after the trigger.

Once the calendar is updated, the new date will not reflect in the event unless the event is manually edited.   The following command will re-evaluate the event and update the Next Scheduled Time field.

scheduleallevents eventnames("SCHEDMASTER.EVENT1","SCHEDMASTER.EVENT2") reevaluateschedules(true)

Note: The reevaluateschedules switch will only work when some events have been specified with eventnames.

CLI commands and switches in DE (ESP dSeries) are case-insensitive.

Additional Information

For more details, refer to this link.