The migration sample program ex06ct.c illustrates conversion of DB-Library browse-mode code to Client-Library cursor code. ex06ct.c is a conversion of the example6.c DB-Library example program. ex06ct.c creates a simple table, then uses a cursor to traverse the table rows and update each column.
ex06ct.c also contains additional code that shows how Client-Library cursors allow multiple commands to be active on one connection.