I am afraid Carlo that without any more details regarding your precise development/execution environment nobody will be able to help you. You are far to much vague in your description. For example, when you say "on a db2 table", what is the underlying DBMS that is used? DB2 z/OS via XDB Link? DB2 z/OS via DB2Connect? DB2 LUW? XDB (SQL Option)? Other (SQL Server?, ...) ? COBOL Native code? Managed code? ... 32/64 bit? ...
Can you also provide answers about my initial questions?
I am afraid Carlo that without any more details regarding your precise development/execution environment nobody will be able to help you. You are far to much vague in your description. For example, when you say "on a db2 table", what is the underlying DBMS that is used? DB2 z/OS via XDB Link? DB2 z/OS via DB2Connect? DB2 LUW? XDB (SQL Option)? Other (SQL Server?, ...) ? COBOL Native code? Managed code? ... 32/64 bit? ...
Can you also provide answers about my initial questions?