Sends a single stored procedure, a single remote stored procedure, or batch of stored procedures or remote stored procedures to Microsoft® SQL Server™ 2000 to be executed.
RETCODE dbrpcsend ( PDBPROCESS dbproc );
Is the DBPROCESS structure that is the handle for a particular workstation or SQL Server 2000 process. It contains all the information that DB-Library uses to manage communications and data between the workstation and SQL Server.
SUCCEED or FAIL.
After initializing and setting up each stored procedure using dbrpcinit and dbrpcparam, call dbrpcsend to send the stored procedure or batch of stored procedures to SQL Server. Then call dbsqlok before processing the stored procedure results. For more information about executing stored procedures using DB-Library functions, see dbrpcinit.