GenerateEvent

Generate a custom event with the specified name and value. This event can be used to activate a trigger that has been configured to listen for this event name.

Location

/lib/util/

Syntax

generateEvent (IN eventName VARCHAR (255), IN value VARCHAR (4096))

Inputs

eventName: The name of the event.

value: The value for the event.Output: The cs_server_events.log file records events generated by this procedure.

Exceptions

N/A

Remarks

The input eventName is the name of the event.

The input value is the value for the event.

The cs_server_events.log file records events generated by this procedure.

Example

PROCEDURE CallsGenEv()
    BEGIN
        CALL GenerateEvent('runAReport', ' ');
    END