RPCConnect Action

Establishes a connection to the Remote Program Call (RPC) server.

Use

The RPCConnect action establishes a physical connection to a remote server. After this action successfully completes, the connection is live and you can call remote commands or procedure calls against it and process the results.

When you have concluded your operations over an open Connection, use the RPCDisconnect action to terminate the connection and free any associated system resources.

Parameters

Connection  -  (Required)

A name that you assign to the connection object that represents the connection to the RPC server. The connection will be referred to by this name in all subsequent RPC actions. For example, your Connection name might be "RPCConnection".  

Server  -  (Required)

The RPC server type. This value must be RPCOS400.  

Connection String  -  (Required)

A string specifying the server connection details. This parameter consists of a semi-colon separated name/value pair that can be set to one of two things:

  1. A pre-established rpc connection, OR
  2. A full connection definition specifying the rpc server and all the relevant connection properties.

Each name/pair value is formatted as so: 'name=value'. Eg.'Address=192.168.1.1;Port=4245'.

Clicking the prompt button will open the Data Link Properties window.

TIP!

If the Username or Password are not specified in the connection string then they will be prompted at the time of connection.

See Also

RPCDeclare action | RPCCommand action | RPCCall action | RPCDisconnect action


© 2004-2021 looksoftware. All rights reserved.