dbregexec

Description

Execute a registered procedure.

Syntax

RETCODE dbregexec(dbproc, options)
 
DBPROCESS      *dbproc;
DBUSMALLINT    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/C uses to manage communications and data between the front end and the server.

options

A 2-byte bitmask, either DBNOTIFYALL or DBNOTIFYNEXT.

If options is DBNOTIFYALL, Open Server will notify all DBPROCESSes watching for the execution of this registered procedure.

If options is DBNOTIFYNEXT, Open Server will notify only the DBPROCESS that has been watching the longest.

Returns

SUCCEED or FAIL.

Usage

See also

dbreginit, dbregparam, dbregwatch, dbregnowatch