Example 2. Deleting history file entries by date

This example shows an HFZUTIL batch utility job to delete all history file entries in the history files MY.HIST1 and MY.HIST2 that are more than two weeks old.
//UTILJOB2 JOB  ...
//RUNUTIL  EXEC PGM=HFZUTIL
//SYSPRINT DD  SYSOUT=*
//SYSIN    DD  *
FILES(MY.HIST1,MY.HIST2)
DELETE(ABEND_DATE < TODAY-14)
/*