DDEPOKE
Usage
TIBCO iProcess Workspace (Windows)
Warning: (iProcess only) This expression is not available to the TIBCO iProcess Script Server Plug-in. Therefore, even though you can successfully enter the expression in your iProcess Script plug-in definition, it will not be processed by the iProcess Engine. It will return SW_NA.
Send some data to a DDE server.
Syntax
DDEPOKE (channel, item, data, timeout)
where:
• | channel is a numeric value specifying the channel number of the conversation. |
• | item is a server-specific text string representing the data item being sent. |
• | data is a server-specific text string which is the data being sent. |
• | timeout is a numeric value specifying the number of seconds to wait for a response. |
Returns
One of the following numeric values:
Value |
Description |
0 |
Success |
1 |
Not processed (bad item, or server does not handle POKE) |
2 |
Timeout - server busy |
3 |
Bad channel |
4 |
Unknown error from server |
Examples
TIBCO iProcess Modeler:
DDEPOKE (mychan, "COMM.BMK", strfield, 5)
TIBCO Business Studio:
IPEDDEUtil.DDEPOKE (mychan, "COMM.BMK", strfield, 5);