Entering content frame

Procedure documentation event_set Locate the document in the library structure

Use

You specify that the database kernel is to trigger an event as soon as a defined situation occurs. You can execute this DBM command in any operating state of the database instance and the event is active immediately.

For an overview of events that can be activated or deactivated, see Concepts of the Database System, Overview of Database Events

For displaying messages regarding the occurrence of an activated event, see event_wait.

See also:

Utilities, Event Dispatcher

Prerequisites

You have the DBInfoRead server authorization.

Syntax

event_set <event_category> <priority> [<value>]

<priority> :: = LOW | MEDIUM | HIGH

Options

Option

Description

<event_category>

Event category

<priority>

Priority of the event; possible values are:

LOW: low priority

MEDIUM: medium priority

HIGH: high priority

<value>

Numerical value the meaning of which depends on the event

Reply

OK

In the event of errors, see Reply Format.

Example

Logging on to the Database Manager CLI as operator OLEG with password MONDAY, connecting to the DEMODB database instance, activating the event DBFILLINGABOVELIMIT with priority LOW   and value 50:

>dbmcli -u OLEG,MONDAY -d DEMODB event_set DBFILLINGABOVELIMIT LOW 50

OK

 

Leaving content frame