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

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: o It was not declared in the Declare Section. o Its datatype is not supported. o Its name is misspelled. o 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.

No comments:

Post a Comment