Send a command batch to the server and do not wait for a response.
RETCODE dbsqlsend(dbproc) DBPROCESS *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.
SUCCEED or FAIL.
dbsqlsend may fail if previous results had not been processed, or if the command buffer was empty.
This routine sends SQL commands, stored in the command buffer, to the server. The application can add commands to the command buffer by calling dbcmd or dbfcmd.
Once dbsqlsend returns SUCCEED, the application must call dbsqlok to verify the accuracy of the command batch. The application can then call dbresults to process the results.
dbsqlexec is equivalent to dbsqlsend followed by dbsqlok.
The use of dbsqlsend with dbsqlok is of particular value in UNIX applications. After sending a query to the server, dbsqlexec waits until a response is received or until the timeout period has elapsed. By substituting dbsqlsend, dbpoll and dbsqlok for dbsqlexec, you can sometimes provide a way for an application to respond more effectively to multiple input and output streams. See the dbsqlok reference page.
dbcmd, dbfcmd, DBIORDESC, DBIOWDESC, dbnextrow, dbpoll, dbresults, dbsettime, dbsqlexec, dbsqlok