Entering content frame

 Waiting for an Event 

Use

You display the notification from the database manager about the occurrence of an activated event and the associated data.

Once you have received the notification, you evaluate it, enter the command again, and wait for the next notification from the database manager about the occurrence of the activated event.

You do not receive a reply to this DBM command until the activated event occurs.

Use this DBM command via a database manager programming interface.

If you want to use the DBM command with the database manager CLI, work in session mode.

Prerequisites

·        You have the server authorization DBInfoRead.

·        You have activated an event (Activating an Event).

Syntax

event_wait

Example

1. Generating the session mode:
Calling the database manager CLI, logging on to the database instance
HOTELDB as operator DBM with password DBM:

dbmcli -d HOTELDB -u DBM,DBM

dbmcli on HOTELDB>

2. Entering the DBM command for waiting for an event:

dbmcli on HOTELDB>event_wait

Result:

You receive notification about the occurrence of the event BACKUP_PAGES.

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

 

Leaving content frame