Considerations
• The end transaction and abort statements close all open cursors. You cannot, for example, delete a row, commit the delete (by issuing an end transaction statement), and retrieve the next row, because the end transaction statement closed the cursor.
• Cursor_name must be an open cursor.