PCC-02373: Invalid declaration in EXEC SQL DECLARE section Cause: An improper declaration was placed in a Declare Section. This message is usually caused by including an EXEC SQL TYPE or EXEC SQL VAR declaration in a Declare Section. Action: Move the declaration outside of the SQL DECLARE section.