RPC commands offer the following unique benefits:
Stored procedure parameter values do not require conversion on the server.
When invoking a stored procedure with an RPC command, parameters are passed in their declared datatypes. The server does not need to convert the parameters from character format to their declared datatypes.
There is no other way to execute Open Server registered procedures.
Open Server registered procedures provide a relatively simple way to develop a distributed application with Open Client and Open Server. Registered procedures can be either a function in the Open Server application code, or a special type of procedure that is created by a client application and exists only to trigger client notification events when it is executed. The latter type is created when the client application invokes the sp_regcreate Open Server system registered procedure.
See the Open Server Server-Library/C Reference Manual for information on defining C functions that can be called as a registered procedure.
See the sp_regcreate reference page in the Open Server Server-Library/C Reference Manual for details on how Client-Library applications can create a registered procedure on an Open Server.
See the “Registered Procedures” topics page in the Open Client Client-Library/C Reference Manual for information on how Client-Library applications can receive registered procedure notifications.