aiaiDBA

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

13718043309

010-86462881

PCC-00115: Array required here

PCC-00115: Array required here
Cause: In an ARRAYLEN statement, the name of a previously declared host array was not specified. The first host variable in an ARRAYLEN statement must be an array. The second host variable, which specifies an array dimension, must be a 4-byte integer. The correct syntax follows: EXEC SQL ARRAYLEN host_array (dimension); The ARRAYLEN statement must appear in the Declare Section along with, but somewhere after, the declarations of host_array and dimension.
Action: Check the spelling of both identifiers in the ARRAYLEN statement. If necessary, supply the missing host array name.

请先 登录 后评论

1 个回答

小智
PCC-00115:这里需要数组,
.原因:在ARRAYLEN语句中,未指定先前声明的主机数组的名称。ARRAYLEN语句中的第一个主机变量必须是数组。指定数组维度的第二个主机变量必须是一个4字节的整数。正确的语法如下:EXEC SQL ARRAYLEN host_array(dimension); ARRAYLEN语句必须出现在声明部分中,但在某个地方,host_array和维度的声明。,
.操作:检查ARRAYLEN语句中两个标识符的拼写。如有必要,提供丢失的主机阵列名称。,
.
请先 登录 后评论