Hi Peter,
With OCUM 5.2RC1 and later, you may not need this, as there is a inbuilt cli to purge the events.
[root@vmlnx ~]# dfm purge help
NAME
purge -- purge events and data protection job events from the Database.
SYNOPSIS
dfm purge event [-S <Severity>] [-s] <purge-interval>
dfm purge dpevent [-J <jobId>] [-s] <purge-interval>
DESCRIPTION
The purge command purge the events and data protection job events from database
-S <Severity>
Purge the events whose severity is less than or equal to <Severity>.
-s
Show the details about the events without cleaning up them fom DB.
-J <JobId>
Purge the dpevents whose JobId is less than or equal to <JobId>.
[root@vmlnx ~]#
[root@vmlnx ~]# dfm purge event help
NAME
event -- purge events that are older than interval
SYNOPSIS
dfm purge event [-S <Severity>] [-s] <purge-interval>
DESCRIPTION
This command is used to purge history events that are older than purge interval.
-S <Severity>
Purge only the events which has severity equal or less than 'Severity'
-s
Shows the details of the events, without cleaning up them from DB
[root@vmlnx~]#
Regards
adai