The key is in the
SQLCODE=-798, SQLSTATE=428C9
Looking at db2 error codes on :
http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.msg.doc/doc/sql0798.htm
"Explanation:
When inserting or updating a row in a table, a value was specified for the GENERATED ALWAYS column column-name. GENERATED ALWAYS columns should not be specified in the column-list for an INSERT or in the SET clause for an update unless the keyword DEFAULT is specified.
The INSERT or UPDATE is not performed.
User response:
Remove the GENERATED ALWAYS column from the column-list or SET clause, or specify DEFAULT as the column value."
Sounds like you defined a column to be generated and are specifying a value in the insert. use "DEFAULT" for that value instead.