To execute a registered procedure within OpenSwitch through an Adaptive Server remote procedure call, Adaptive Server must first be informed of the OpenSwitch server’s existence. Issue the following, where OpenSwitch_ServerName is the name of the OpenSwitch server in the interfaces file being used by the Adaptive Server:
sp_addserver OpenSwitch_ServerName
After this has been accomplished, OpenSwitch registered procedures can be invoked by connecting directly to the Adaptive Server using isql or something similar, and performing:
1> exec OpenSwitch_ServerName...rp_who 2> go
You can find details on setting up and invoking remote procedures in the Adaptive Server Enterprise System Administration Guide.