RX_SETRMTFNC

Specify remote routine for %RCB_CALL

WTSupported in traditional Synergy on Windows

 

USupported on UNIX
VSupported on OpenVMS
xcall RX_SETRMTFNC(rcbid, netid, method_id[/encrypt])

Arguments

rcbid

The identifier for the routine call block, returned by %RCB_CREATE. (n)

netid

Network connection ID corresponding to the value returned by %RX_START_REMOTE. (n)

method_id

The unique identifier (in the Synergy Method Catalog) of the routine being called. (a)

/encrypt

(optional) Encryption is desired for this method.

Discussion

If you created a dynamically‑generated routine call block (RCB) and wish to call it remotely, use RX_SETRMTFNC to set the method ID and network connection ID in the RCB. Then, when a call is made with %RCB_CALL, the remote routine is then called.

The /encrypt switch is required when slave encryption is enabled on the xfServerPlus machine and the method is marked for encryption in the SMC. The /encrypt switch is optional when slave encryption is enabled on the xfServerPlus machine and the method is not marked for encryption in the SMC. The /encrypt switch is not required when master encryption is enabled. See Using xfServerPlus encryption for more information on encryption.

See Synergy Routine Call Block API for the RCB routine syntax and instructions on using the RCB_xxx routines.