DB2 SQL-Error: -507
SQLState: 24501
Short Description: THE CURSOR IDENTIFIED IN THE UPDATE OR DELETE STATEMENT IS NOT OPEN SQLCODES A SQLCODE A SQLCODE C UPDATE DELETE
The application program attempted to execute an UPDATE or DELETE WHERE CURRENT OF cursor statement at a time when the specified cursor was not open. System action: The statement cannot be executed. No update or delete was performed. Programmer response: Check for a previous SQL return code that might have closed the cursor.