dbcancel

Description

Cancel the current command batch.

Syntax

RETCODE dbcancel(dbproc)
 
DBPROCESS     *dbproc;

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 server.

Returns

SUCCEED or FAIL.

The most common reasons for failure are a dead DBPROCESS or a network error. dbcancel will also return FAIL if the server is dead.

Usage

See also

dbcanquery, dbnextrow, dbresults, dbsetinterrupt, dbsqlexec, dbsqlok, dbsqlsend