DDDriverCommands::CallRemote
Execute a command on an external system / application.
Execute a command on an external system / application. This command presently supports only the STAF protocol.
Command syntax, parameters, and values will be dependent upon the protocol specified and
the command issued to the remote (or even local) system.
Fields: [ ]=
Optional with Default Value
-
Protocol
The name of the protocol to use. Presently only 'STAF' is supported.
-
SystemName
The name of the system to send the command to.
-
ServiceName
The service name to be called on the external system / application.
-
Command
The service command to be issued to the external system / application.
- [ VarName = result ]
The DDVariable root name to receive the results.
Variable root name defaults to 'result' if not provided.
The variables varName.RC and varName.RESULT are defined on completion of the command.
- [ Parameters = ]
Additional parameters to be passed to the service command.
Examples:
-
C CallRemote STAF LOCAL PING PING
Send the STAF command PING PING to the local system, and assign the result to the result root name variable.
-
C CallRemote STAF ext-1 HANDLE QUERY myResult ALL
Send the STAF command HANDLE QUERY ALL to the external system ext-1 and assign the results to the myResult root name variable.
[How To Read This Reference]