aiaiDBA

加微信获取免费职业规划+学习资料,了解年薪50万的DBA是如何练成的

13718043309

010-86462881

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.

请先 登录 后评论

1 个回答

小智
PCC-00026:无效的主机变量“ string ” 在文件串中的行号,
.原因:在SQL语句中使用的主机变量未正确声明。一些可能的原因如下:,
.o没有在声明部分声明。,
.,
.o不支持其数据类型。,
.,
.它的名字拼错了。,
.,
.o它是一个COBOL组项目; 在Pro * COBOL中,在SQL语句中只允许基本项。,
.,
.操作:添加或更正主机变量声明。,
.
请先 登录 后评论