Need to abandon submission of a file trigger or a DSTRIG at a specific time? The ABANDON SUBMISSION command does not work, how should this be done?
Release: All
Component: ESP Workload Automaion
You would use a link process job to complete the DSTRIG or file trigger. The following explains how to do this.
DSTRIG DSN1.FILE DSNAME 'ROZRIA1.DSN1' RELEASE ADD(ROZRIA1B) RELEASE ADD(ROZRIA1A) RUN NOW ENDJOB
JOB REL.LINK LINK PROCESS CONDITIONAL
RUN NOW
DELAYSUB 11:00
ESP AJ DSN1.FILE COMPLETE APPL(DSTRIG.0)
ENDJOB
DSTRIG DSN1.FILE
DSNAME 'DSN.DSN1'
RELEASE ADD(JOB1B)
RELEASE ADD(JOB1A)
RUN NOW
ENDJOB
The above job REL.LINK will complete the DSTRIG DSN1.FILE at 11:00. This will remove the requirement for the dataset DSN.DSN1.
Jobs JOB1A and Job1B will then be released.