Chapter 11 SQL Preprocessor Error Messages
943
host variables not allowed for this cursor
Message value Message Type
2629 Error
Host variables are not allowed on the declare statement for the specified
cursor. If the cursor name is provided through a host variable, then you
should use full dynamic SQL and prepare the statement. A prepared
statement may have host variables in it.
host variables specified twice - on declare and open
Message value Message Type
2630 Error
You have specified host variables for a cursor on both the declare and the
open statements. In the static case, you should specify the host variables on
the declare statement. In the dynamic case, specify them on the open.
incorrect Embedded SQL language usage -- that is a ’%1’ extension
Message value Message Type
2635 Error
incorrect Embedded SQL syntax
Message value Message Type
2636 Error
An embedded SQL specific statement (OPEN, DECLARE, FETCH etc.) has
a syntax error.
Probable cause
Probable cause
Probable cause