DUEOUT EXEC is firing unexpectedly
search cancel

DUEOUT EXEC is firing unexpectedly

book

Article ID: 136454

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

I have a job definition as follows. The job runs at 5 am for about 40 seconds however at 6am the job receives message ESP6638I APPLMGR: APPL TESTRUNA.397 JOB RCBJOBE LATE ENDING



JOB RCBJOBE              

  RUN DAILY                     

  CCCHK RC(5:4095) FAIL CONTINUE

  EARLYSUB 5AM

  DUEOUT EXEC 6AM          

ENDJOB                        

                                   
                                          


Environment

Release : 11.4

Component : CA ESP WORKLOAD AUTOMATION

Cause

Event is defined as follows.


EVENT ID(ESP.TESTRUNA)  SYSTEM(X114M)  REPLACE

SCHEDULE 06.00 DAILY STARTING SAT 31ST AUG 2019   

INVOKE 'ESP.TESTPROC(TESTRUNA)'           

ENDDEF                                            

Resolution

The event is triggering at 6am and the new application is loaded. It is picking up the DUEOUT of 6am for the current application generation. It is not firing for the application/job that had completed at 5am. To correct the behavior adjust the DUEOUT prior to 6am.


JOB RCBJOBE HOLD              

  RUN DAILY                     

  CCCHK RC(5:4095) FAIL CONTINUE

  EARLYSUB 5AM

  DUEOUT EXEC 5:59         

ENDJOB