Excluding data sets

You can exclude data sets from Automation Server processing. To exclude a data set, it must have a record in the Automation Server control data set, with an indication in the record that the data set is already processed.

In the HZAAPARM member you define actions to be performed, and supply data set name masks specifying the data sets to be processed by the Automation Server. Data sets with these name patterns might already exist and have been processed before the Automation Server was implemented.

To exclude a data set, the name of the data must satisfy a selection mask pattern. To implement the exclusion, you can use the Automation Server data set name scouting program. The HZASCUST post-installation job creates the HZAASSCT member in the JCLLIB data set. Run the HZAASSCT job to start the scouting program.

The program reads the HZAAPARM member, searches the catalog for every specified data set name mask, and writes a record for each data set that it discovers. The job then sorts the records into key order and copies them into the VSAM control data set. Every record loaded into the control data set in this way indicates a specific action with a status of complete.

If you want to continue processing some of the data sets, you can manually delete them from the sequential data set before the data is copied into the control data set.