Skip to Content

Delete SDP Alerts which created on same day.

Dear experts,

We have business requirement to delete database alerts which generated on the same day and create new ones with out deleting previous days generated alerts.

I tried using /SAPAPO/AMON_REORG, but this is not deleting alerts which are generated on last day.

and program /SAPAPO/AMODAL_DELETE which is deleting all the old and today's.

Can some one help on achieving the requirement to delete alerts based on creation date.(today's date)

Thanks & Regards

Ashwin

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jul 07, 2016 at 06:12 PM

    Hi Yadagiri,

    You can achieve this by creating a macro which deletes the existing alerts(delete in context) and creates new ones(update in context). The macro essentially would have only 1 iteration for the current date. You can then schedule this macro in a background job and run it as needed.

    Regards

    AK

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 20, 2016 at 08:41 AM

    Hi Yadagiri,

    I am personally not a fan of deleting alerts via macro because I always faced fringe effects where the macro function did not delete properly. So I always used //AMON_REORG which also worked for alerts from yesterday or older. That's why I am not sure why this is not working in your case.

    Any issue in your selection variant?

    regards Peter

    Add comment
    10|10000 characters needed characters exceeded