DBEvent Event
The DBEvent is triggered when the frame receives the specified database event.
This event has the following syntax:
on dbevent ['eventname']
eventname can be any string of up to 32 characters, surrounded by quotes.
The GhostExec class has one attribute that you can use in the DBEvent event block:
DBEvent
Specifies the database event received by a frame in the current DBMS session
Use the CurFrame system variable to access this attribute. For more information, see
GhostExec Class.
Usage: You can specify the DBEvent event in a frame script only. If you specify an event name, OpenROAD executes the event block when the frame receives the specified event. If you do not specify an event name, OpenROAD executes the event block when the frame receives any database event. You can specify any number of database event blocks in the frame script, although each must have either a unique event name or no event name at all.
The DBEvent event, which you can use when a frame receives a database event, lets you switch sessions inside the event block. However, you should return to the connection on which database events are expected before the database event block completes.
For more information about using database events and the SQL statements associated with them, see the Programming Guide.
More information:
Last modified date: 12/20/2023