Indicate whether there are more commands to be processed.
RETCODE DBMORECMDS(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, indicating whether there are more results from the command batch.
The application can use this macro to determine whether there are more results to process.
DBMORECMDS can be called after dbnextrow returns NO_MORE_ROWS. If you know that the current command is returning no rows, you can call DBMORECMDS immediately after dbresults.
Applications rarely need this routine, because they can simply call dbresults until it returns NO_MORE_RESULTS.