incorrect Embedded SQL syntax

Message value

Message type

2636

Error

Probable cause

An Embedded SQL specific statement (OPEN, DECLARE, FETCH, etc.) has a syntax error.