Previous Topic: oprcmd  (Windows only)Next Topic: oprfix-Repair a Corrupted Event Management Log File


oprdb-Maintain the Event Management Database

Valid on UNIX/Linux, Windows, z/OS

Use the oprdb command to save, list, or convert the data in the Event Management database or database image (DSB) file. "Converting" data converts the binary data that is contained in the database into a character command representation. This representation can be used as input to the CAUTIL command utility to restore the database or reproduce its contents in another database.

OPRDB  [LIST {DB|dsb-file path}]

Valid on Windows

  [LOAD dsb-file]
  [SAVE dsb-file path]
  [SCRIPT {DB|dsb-file path|>mycmds.txt|cautil -f mycmds.txt}]

Valid on UNIX/Linux, z/OS

  [SCRIPT {DB|>mycmds.txt|cautil -f mycmds.txt}]

Examples

This example lists, in report form, the contents of DSB file c:\TNG\logs\caopr.dsb. This file saves the Event Management database each time Enterprise Management is started.

oprdb list c:\TNG\logs\caopr.dsb
LOAD dsb-file
Valid on Windows

Loads the contents of the dsb-file into the Event Management database. The previous contents of the database is lost unless OPRDB SAVE dsb-file was previously issued. To put this new policy into effect, issue the opreload command.

SAVE dsb-file path

Valid on Windows

Saves the Event Management database messages and actions to the file specified (dsb-file path). These messages are used as an alternative to the database if it becomes unavailable.

LIST {DB|dsb-file path}

Number of retries to be made when a busy or other recoverable error condition is detected while attempting to send the SNMP trap.