Would like to change the DUEOUT time of a job using a batch job?
Release: All
Component: ESP Workload Automation
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)' ===> This would be your subsystem name.
//STEPLIB DD DSN=hlq.ESP.CD7YLOAD,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
APPLJOB JOB1 RESET LATEEND('15.00') APPLICATION(APPL1.1)
/*
Use the APPLJOB command to control jobs and subapplications.