Equinox Online Help - Language Reference - A to Z
ExecuteMindMeld |
|
---|---|
Applies to | |
Syntax | ExecuteMindMeld TaskID |
Action | This command swaps local, public and system workarea values between the current task and another one identified by TaskID ( the value you get back from the Execute statement in SysResult.). |
Scope | Useable anywhere |
Notes | This command swaps local, public and system workarea values between the current task and another one identified by TaskHandle (which is the value you get back from the Execute statement in SysResult.). You identify the workareas to be transferred in and out in the normal way using the ExecuteSetData commands. After the ExecuteMindMeld, SysError is zero if it was successful, and SysResult contains the value of SysResult in the remote task, which allows the simplest possible mind meld to use SysResult only. There are two new system workareas called SysTaskControl and SysTaskStatus, character length 255, which you can use however you like in your methods, however the convention is that the server remote task writes to SysTaskStatus and reads SysTaskControl, and the client task reads SysTaskStatus and writes to SysTaskControl. You cannot currently interrogate tasks running in other clients (equinets), only ones that run on the server. |
Category | Remote task handling |
See Also | Execute, ExecuteFalTorPan, ExecuteGetStatus, ExecuteSetDataIn, ExecuteSetData, ExecuteSetDataOut, ExecuteSetMode, ExecuteWaitForTask |
Example | This example changes the value of a local workarea called lwNumber | ========== This example runs a database task remotely and monitors its progress via SysTaskStatus | ====================== |