aiaiDBA

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

13718043309

010-86462881

SQL-02152: Invalid numeric variable for use in an array GET/SET statement

SQL-02152: Invalid numeric variable for use in an array GET/SET statement
Cause: An host variable with type other than int or short for C or S9(4) or S9(9) binary or comp was used for an exact numeric with and array size > 1.
Action: Use only int or short for C or S9(4) or S(9) binary or comp for COBOL when supplying an exact numeric in conjunction with the for clause to indicate arrays. Specifically, display sign leading separate is not allowed in this context.

请先 登录 后评论

1 个回答

小智
SQL-02152:在数组GET / SET语句中使用无效的数字变量,
.原因:对于C或S9(4)或S9(9)二进制或comp的类型不是int或short的主变量用于精确数字,数组大小> 1。,
.操作:在与for子句一起提供精确数字以指示数组时,仅对C或S9(4)或S(9)二进制使用int或short作为COBOL。具体来说,在此上下文中不允许显示符号前导单独。,
.
请先 登录 后评论