How to change a CA WA ESP job DUEOUT time using a batch job?

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

Question:

How do you change the DUEOUT time of a CA WA ESP job using a batch job?

Answer:

Run the APPLJOB command using the RESET LATEEND option.

Sample application:

APPL APPL1
JOB JOB1
DUEOUT EXEC 9AM
RUN DAILY
ENDJOB

The following batch job changes the DUEOUT time to 15.00.  JOB1 now has a must-end time of 15.00.

 //STEP01 EXEC PGM=ESP,PARM='SUBSYS(ESP)'
 //STEPLIB  DD   DSN=hlq.ESP.CD7YLOAD,DISP=SHR  
 //SYSPRINT DD   SYSOUT=*  
 //SYSIN    DD   *                                             
 APPLJOB JOB1 RESET LATEEND('15.00') APPLICATION(APPL1.1) 
 /*