ESP Suspend/Resume and Hold/Release do not work.
search cancel

ESP Suspend/Resume and Hold/Release do not work.

book

Article ID: 54570

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

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

 

 

Resolution

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

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


Example:

EVENT ID(<prefix>.<Namex>) SYSTEM(XXX)  REPLACE                  
SCHEDULE HH:MM EVERY 15 MINUTES STARTING DDD DDTH MMM YYYY 
RESUME HH:MM DAILY STARTING DDD DDTH MMM YYYY 
SUSPEND HH:MM DAILY STARTING DDD DDTH MMM YYYY             
INVOKE ESP.<yourlib>(<Namex>)'                      
ENDDEF 

This event will come in HH:MM 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.

It's important to have the suspend count set to the correct value prior to schedule time.

1. First you can schedule the trigger for HH:MM. 
2. You can manually increase the trigger count for the first run only by issuing SUSPEND again to set it back to 0.