How to discard a message record?
search cancel

How to discard a message record?

book

Article ID: 44252

calendar_today

Updated On:

Products

Unicenter Job Management Option

Issue/Introduction

Question: 

How can I delete a message record in Event Management on Unix in batch mode

 

Answer: 

 

1)    First of all, just to 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)    Then 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

 

 

 

Environment

Release: UWSMWL55500-3.1-Network and Systems Management-Job Management Option
Component: