RPC commands

An RPC command sends the name of a stored procedure or registered procedure to the server, plus values for the procedure’s parameters, if any. If the procedure exists, the server executes it and returns the results.

RPC commands to Adaptive Server Enterprise invoke stored procedures. RPC commands to an Open Server application invoke either registered procedures or the Open Server’s RPC event handlers.

See the Transact-SQL Users Guide for information on creating Adaptive Server Enterprise stored procedures. See the “Registered Procedures” topics page in the Open Server Server-Library/C Reference Manual for information on registered procedures.