Wait for a Database Event 

Use

You request notification from the Database Manager CLI about the occurrence of an activated event and the data associated with it.

Once you have received the notification, evaluate it, and wait for the next notification from the Database Manager CLI of the occurrence of the activated event by entering the command again.

You only receive a reply to this command if the activated event occurs.

Use this command through a Database Manager programming interface.

If you are to use the command with the Database Manager CLI, work in session mode.

Prerequisites

You have the DBM operator authorization DBInfoRead.

You have activated a database event (Activate a Database Event).

Syntax

event_wait

dbmcli -d DB -u dbm,dbm

dbmcli on DB>event_wait

OK
NAME=BACKUP_PAGES
PRIORITY=LOW
DATE=20010712
TIME=00151725
VALUE1=99
COUNT=188
DESCRIPTION=Next <n> pages moved

You have received the notification about the occurrence of the event BACKUP_PAGES.