A manually triggered application with REPLACE option is picking up tomorrow's date in ESP variables.
Release : All
Component : ESP WORKLOAD AUTOMATION
An event is scheduled to trigger at 5am and triggers successfully. However, due to max generations of the application on CSF, the application failed to load. Deleted several older generations of the application to free up space. The event was manually triggered again with REPLACE option and the application loaded successfully. When the jobs started to execute the ESPSDATE variable was picking the date for the next business day.
Reason for this behavior is once the event manager triggered the application with REPLACE the scheduled date for the event moved to the next day. Regardless if the application loads or not.
EXAMPLE:
EVENT ID(CYBER.EVENT1) SYSTEM(ESPM) REPLACE
SCHEDULE 05.00 DAILY STARTING THU 14TH OCT 2021
INVOKE 'HLQ.ESP.TESTPROC(EVENT1)'
ENDDEF
In this case you want to trigger the event with an ADD. This will add the application to the current day and not advance the Schedule time.