DB2 SQL-Error: -502
SQLState: 24502
Short Description: THE CURSOR IDENTIFIED IN AN OPEN STATEMENT IS ALREADY OPEN
The application program attempted to execute an OPEN statement for a cursor that was already open. System action: The statement cannot be executed. The cursor was unchanged (that is, it was not 'reopened'). Programmer response: Correct the logic of the application program to ensure that it does not attempt to execute an OPEN statement for a cursor that is already open.