Remote Commands

Newlook contains support for executing remote commands on an iSeries host and then processing the results of those commands locally. This support is provided through a number of RPC database actions.

In order to execute a remote command on the iSeries host, the macro will:

  1. Open an RPC connection with the RPCConnect action.
  2. Execute the remote command with the RPCCommand action.
  3. To locally process messaged generated by the command the macro can reference the Response property of the Connection object.
  4. Close the RPC connection with the RPCDisconnect action.

The connection object created by the RPCConnect action represents a single unique communications session with the RPC server. The connection can be used for multiple remote command and program calls before being closed with the RPCDisconnect action.

See Also

Remote Program Calls


© 2004-2021 looksoftware. All rights reserved.