We have CICS app talk to DB2 on z/os. We were asked to mimic queries call to DB2 from JDBC using SQLJ as CICS uses static sqls. We are able to successfully do selects and cursors with DB2.
Question: 1. Select statements: CICS issue fetch message to DB2 but JDBC on a resultset on Block fetch in buffer. Is there any way we can avoid this with JDBC? We would like to mimic same fetch message to DB2 as like CICS.