WAKEUP
Syntax
![]()
Command
Mandatory parameter Optional parameter Mandatory keyword Optional keyword |
WAKEUP (<Report>[, <Data>]) [RESULTOKTO <Status>]
Description
Sends a wakeup to the report <Report> which must be executing a WAIT command.
Diagram
Returned value type
None
Parameters
Parameter | Description |
Report |
The name of the report to send the wakeup to |
Data |
Optional data to send to the report receiving the wakeup call. |
Status |
Status variable when using the RESULTOKTO option. Will be set to True when the report to send the wakeup to is running. |
Remarks
The report name must be uppercase.
Reports running in debug mode will not receive the wakeup.
Optional data <data> can be sent to the waiting report. Inside that report the data will be available in the report parameter as defined in the report options and the system variable SI-PARAMFLAG will be set to TRUE to show that data is available in the waiting report.
If the waiting report has an optional 'WakeupData' variable specified in the WAIT command, the data will be sent to that variable instead of the report parameter.
ResOk will be set to true when the addressed report is running. The result will be stored in <status> instead when RESULTOKTO is used.
Example