Data set cleanup

This section shows how HCL Workload Automation for Z can help with the recovery and restart of z/OS® jobs and started tasks by:
  • Deleting data sets that were created in a job.
  • Uncataloging data sets that were cataloged in a job.
  • Cataloging data sets that were uncataloged in a job.
In this section, the term job refers both to a z/OS® job and to a started task, unless otherwise stated. Data set cleanup is available for jobs that are tracked by the scheduler on the z/OS® operating system and are in the current plan.
There are two types of data set cleanup:
  • Cleanup that is based on the history of a failed job run. This section describes this type in detail.
  • Preventive cleanup that you can perform before a job runs. This type of cleanup runs a general cleanup of data sets, which is useful if you do not know the exact state of the data sets. If you prefer to cleanup before a job first runs, look at the EQQDELDI member in the supplied sample library. This describes a program that deletes data sets with the NEW disposition that are not referenced with a different disposition (OLD or SHR) in previous job steps. EQQDELDS is an optional part of the product, which can be used to avoid "not catlg 2" situations.