You activate an event. For this command you can specify several parameters.
You can display the messages reporting the occurrence of the activated event (see: Waiting for an Event)
You have the DBInfoRead server authorization.
event_set <event_name> [<priority>] [[<value_1>] <value_2>]
Options
Option |
Description |
<event_name> |
Name of the event |
<priority> |
Priority of the
event, possible values: |
<value_n> |
Additional value whose meaning depends on the event |
OK
In the event of errors, see Reply Format.
Logging onto the Database Manager CLI as operator DBM with password DBM, connecting to the HOTELDB database instance, opening a database session (without specifying a user and therefore with the first DBM operator saved under the system default), activating the BACKUP_PAGES event with the value 1000:
dbmcli -d HOTELDB -u DBM,DBM –uDBS -c event_set BACKUP_PAGES 1000
OK
Result:
During the current backup session, the database instance generates a message from now on after every thousand backed up pages.