I'm having db2 9.7 on Linux.
I have been experiencing a problem processing an invoice with 700+ lines. The raw data size is small (280k), so that should not be an issue.
Statement heap size is Automatic.
The error we are getting is:
[IBM][CLI Driver][DB2/LINUXX8664] SQL0302N The value of a host variable in the EXECUTE or OPEN statement is too large for its corresponding use. SQLSTATE=22001
Please help me to solve this error.