COMMAND action
Related pages:
COMMAND strExpression [ON procIdent[INSTANCE instanceExprInt]]
intIdent := COMMAND strExpression [ON procIdent[INSTANCE instanceExprInt]]
strExpression | in | Expression of String type - text command. |
procIdent | in | Reference to an object of Process type, to which the command will be sent. If not specified, command is intended for the D2000 Server. |
intIdent | out | Command execution success. |
instanceExprInt | in | An expression whose value specifies the instance number of the process to which the TELL command will be sent (Redundant archiving, Redundancy of communication process). |
strExpression
, is sent to the process procIdent
. There are two possibilities to send the command:intIdent
of Integer type. The result of the action COMMAND may acquire one of the following values:If procIdent
is not stated, the command will be sent to the D2000 Server process.
The list of currently implemented commands for individual processes may be obtained via the D2000 Application Manager process by the right-mouse click on the particular process and select Tell. The opened dialog box contains all implemented commands with a short description.
If the expression instanceExprInt
is not being used and the process is running as instance the TELL command will be sent to all running instances.
See also: Tell commands
INT _ret ; sending the TELL command to D2000 Server _ret := COMMAND "STOP SELF.KOM" ; sending the TELL command to process SELF.ARC _ret := COMMAND "DI ON" ON SELF.ARC ; if the instances of process SELF.ARC are running, for example: [1]_SELF.ARC [2]_SELF.ARC ; the previous action delivers the TELL command to both instances ; sending the TELL command to instance 2 of process SELF.ARC _ret := COMMAND "DI OFF" ON SELF.ARC INSTANCE 2
Related pages:
Pridať komentár