The MDR framework provides program /BTR/MDR_INSTANCE_DELETE, this program allows you to completely delete the stored result sets for one or more MDR instance runs and the result sets of all their corresponding intervals. Alternatively, you can choose to delete only the result sets of the intervals of an instance run. If you don’t need results at interval level you can choose the second options since the result sets at instance level are an aggregation of the intervals.

To run the program /BTR/MDR_INSTANCE_DELETE you need to have added the programs you want to delete the data for in the table /BTR/PROGARCH using SM30. This allows you to restrict by program and numbers of days of instance runs that are stored, the configuration table makes it difficult for anyone to accidentally delete results. For example a sales team might want to see their historical data for the last 30 days and you can add 30 as the limit, then when running the /BTR/MDR_INSTANCE_DELETE it will only delete data for that program that is older than the 30 day limit.

It is recommended to schedule this program to do regular cleaning in your system to avoid accumulation of unnecessary historical data.

If you only need to delete one run the “Delete” functionality for individual instances mentioned in Administering MDR Programs can be useful.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Please do not use this for support questions.
For customer support, please contact us here.

Post Comment