PL/I · DB2 SQLCODE
What does SQLCODE +206: Column Is Not a Column of the Referenced Table mean in PL/I?
An embedded INSERT, UPDATE, or SELECT references a column name that doesn't belong to the table or view named in the statement — often a typo, or a DCLGEN-based host structure that's out of sync with the table's actual DDL after a column rename.
An embedded INSERT, UPDATE, or SELECT references a column name that doesn't belong to the table or view named in the statement — often a typo, or a DCLGEN-based host structure that's out of sync with the table's actual DDL after a column rename.
Regenerate the DCLGEN from the current table definition and recompile, and double-check that FROM-clause correlation names match the column references used in the EXEC SQL block.