If you execute the report in test mode,you can determine which maintenance notifications have already been completed and for which notifications the completion date is n days in the past (check for <=). For example, where n=200, the system checks all completed maintenance notifications whose completion date is more than 200 days in the past.
If you execute the report in active mode, the system sets the status DFLAG (Deletion flag) for the maintenance notifications found.