Suspend/Resume and Hold/Release do not work.

Document ID : KB000054570
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Triggers will start and not stop or will never run at all.

Solution:

Suspend/Resume work on Suspend counts. Hold and Release work on Hold counts. The Hold/Suspend counts must be correct prior to the Suspend/Resume or Hold/Release commands being issued.

For example this event was used:

EVENT ID(CYBER.PAYROLL) SYSTEM(MSTR)  REPLACE                  
SCHEDULE 03:59 EVERY 15 MINUTES STARTING SAT 25TH OCT 2008 
RESUME 04.00 DAILY STARTING SAT 25TH OCT 2008              
SUSPEND 07.00 DAILY STARTING SAT 25TH OCT 2008             
INVOKE CYB1.ESP.APPLIB(ZPATROLL)'                      
ENDDEF 

This event will come in @03:59 with a suspend count of 0. When the resume is encountered the suspend count becomes -1. The trigger will continue to run every 15 minutes.

When the suspend is encountered the suspend count will be 0 the trigger will continue to run every 15 minutes.

It's important to have the suspend count set to the correct value prior to job trigger time. In the above example you have a few options. First you can schedule the trigger for 4:01. You can manually increase the trigger count for the first run only.

If an Event is both suspended and held at its scheduled execution time, ESP WA ignores the hold state and considers the Event suspended.