To start the query, you OPEN the cursor.
EXEC SQL OPEN cursorname END-EXEC.
EXEC SQL OPEN COBCUR1 END-EXEC.