Connection and command rules

Applications can have multiple command structures active on the same connection only when using Client-Library cursors. Client-Library cursors allow the application to send new commands while processing rows returned by the cursor.

When processing the results of a command other than a Client-Library cursor open command, the application cannot send additional commands over the same connection until the results of the original command have been completely processed or canceled.

See Chapter 7, “Using Client-Library Cursors,” in the Open Client Client-Library/C Programmer’s Guide for more information.