How can I delete a message record in Event Management on Unix in batch mode?
1. Confirm the message token you wish to delete, run this command:
cautil select msgrecord msgid="(.CASH_I*)" list msgrecord >/tmp/msgrecords
(Substitute .CASH_I* by the message or list of messages you would like to delete from the database)
2. In the output file, look for the “Token” number
For example Token is 11497
3. Run this command to delete this specific message based on his token number:
cautil delete msgrecord msgtkn=11497
4. And finally reload the OPR dsb with: oprcmd opreload