Using DB2 cursors in the etl scenario