Avoid using Cursors (DB2 Server) | CAST Appmarq