A fetch has not been done yet for cursor <str> Explanation: You named a cursor in a CURRENT OF clause of an UPDATE or DELETE statement but you did not issue a FETCH statement for that cursor. User Action: Issue a FETCH statement for the cursor.