Is there a way to run a batch job that lists all the configuration OPTIONS ?
I want to find out whether option AUTODEL is on
You can use LISTC ALL to display complex-level configuration options. During CA SMF Director dump processing, if the AUTODEL complex-wide configuration option is enabled, this product checks the SCDS for any index entries to SMF data history files that have expired. If any are found, it deletes the entries from the SCDS, uncatalog the history file data set if it was cataloged in the z/OS System Catalog, and scratch the data set if the data set resides on a DASD device.
AUTODELETE bases its decisions on the retention period of a history file, not the currently set RETPD. Changing the RETPD only affects new entries in the SCDS. Existing entries retain the previous retention period value and have to be deleted manually, using the DELETEX command.
Don't be confused about the "grace period" that is built in, and the final disposition of the data sets.
When a history file is created, it has an expiration date assigned to it based on the retention period. This indicates when the dataset is no longer needed.
If AUTODELETE is active, then the index entry will be removed three days after the expiration date. If the history file is on DASD, then SMFD will also attempt to delete the dataset.
If the file is on tape, we're relying on the customer's tape management system to delete the file on our behalf (the calculated expiration date is part of the tape allocation of the history file.)
Changing the RETPD does NOT affect any existing files, as once a file has reached its expiration date, then that's it. The expiration date can be changed with the UPDTX control statement if needed, but the existing entries will not be changed. RETPD only affects newly created files.