ERROR | 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. |