aiaiDBA

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

13718043309

010-86462881

PCC-00136: Invalid SQL_CURSOR declaration

PCC-00136: Invalid SQL_CURSOR declaration
Cause: An array of SQL_CURSOR host variables was declared or, if Pro*COBOL, a PICTURE clause was specified in the SQL-CURSOR declaration. In Pro*FORTRAN, a length specification (i.e. "*n") on the SQL_CURSOR declaration could have been specified. These usages are not supported.
Action: Check that the SQL_CURSOR variable is not declared as an array or, if Pro*COBOL, that no PICTURE clause is specified for the SQL_CURSOR. In Pro*FORTRAN, check that there is no length specification (i.e. "*n") for the SQL_CURSOR.

请先 登录 后评论

1 个回答

小智
PCC-00136:SQL_CURSOR声明无效,
.原因:声明了SQL_CURSOR主机变量的数组,或者如果Pro * COBOL在SQL-CURSOR声明中指定了PICTURE子句。在Pro * FORTRAN中,可以指定SQL_CURSOR声明的长度规范(即“* n”)。这些用法不受支持。,
.操作:检查SQL_CURSOR变量未被声明为数组,或者如果Pro * COBOL,则不为SQL_CURSOR指定PICTURE子句。在Pro * FORTRAN中,检查SQL_CURSOR是否没有长度规格(即“* n”)。,
.
请先 登录 后评论