SQL$HELP72.HLB  —  Errors  SQL_ERRORS, CURNOTOPE
  Cursor <str> is not opened

  Explanation:  You named a cursor that was not open in a FETCH
  statement, CLOSE statement, or in the WHERE CURRENT OF clause of
  an UPDATE or DELETE statement.

  User Action:  Issue an OPEN statement for the cursor before
  naming it in any of those statements.  Close the cursor only
  once after opening it.
Close Help