Catalog Maintenance User Exit (MFCATMNTUE)

The MFCATMNTUE user exit program can be used to enhance the catalog maintenance when searching for expired datasets (the MFCATMNT utility).

Use the user exit to determine the processing that should be done, as it provides an expanded range of options. Initially, the user exit is called to set the expiry check date and the high level qualifier used in the catalog search. Then, for each dataset found, it is called again to decide if the dataset should be:

Dataset information passed to MFCATMNTUE includes the expiry date (GETCT-EXPDT) and the last changed date (GETCT-CHG-DATE). The user exit is also called when the dataset was not allocated for checking.

View the sample user exit program (mfcatmntue.cbl), which is located in the /src/enterpriseserver/exit sub-directory of your installation directory, to see how you can enhance the process.