Can you abandon submission of a file trigger or a DSTRIG at a specific time? The ABANDON command does not work so how should this be done?
You would use a link process job to complete the DSTRIG or file trigger. The following explains how to do this.
1) You have a DSTRIG like this:
2) To abandon the DSTRIG at 11:00, you would add a link process to the procedure. The LINK PROCESS will issue an Appljob(AJ) command to force complete the file trigger or DSTRIG.
JOB REL.LINK LINK PROCESS CONDITIONAL
ESP AJ DSN1.FILE COMPLETE APPL(DSTRIG.0)
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.