dbrpcinit

Description

Initialize a remote procedure call.

Syntax

RETCODE dbrpcinit(dbproc, rpcname, options)
 
DBPROCESS    *dbproc;
char                   *rpcname;
DBSMALLINT      options;

Parameters

dbproc

A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library uses to manage communications and data between the front end and the server.

rpcname

A pointer to the name of the stored procedure to be invoked.

options

A 2-byte bitmask of RPC options. So far, the only option available is DBRPCRECOMPILE, which causes the stored procedure to be recompiled before it is executed.

Returns

SUCCEED or FAIL.

Usage

See also

dbnextrow, dbresults, dbretdata, dbretstatus, dbrpcparam, dbrpcsend, dbsqlok