Example 3. Deleting history file entries by date
This example shows an IDIUTIL 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=IDIUTIL
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
FILES(MY.HIST1,MY.HIST2)
DELETE(ABEND_DATE < TODAY-14)
/*