PCC-00026: Invalid host variable “string” at line number in file string

oracle

PCC-00026: Invalid host variable "string" at line number in file string
Cause: A host variable used in a SQL statement was not declared properly. Some possible causes follow: 

     It was not declared in the DECLARE section. 

     Its datatype is not supported. 

     Its name is misspelled. 

     It is a COBOL group item; in Pro*COBOL, only elementary items are allowed in a SQL statement.
Action: Add or correct the host variable declaration.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/