aiaiDBA

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

13718043309

010-86462881

SQL-02156: Invalid type for Indicator or Returned Length

SQL-02156: Invalid type for Indicator or Returned Length
Cause: A host variable associated with the item Indicator or Returned Length must be of type short or s9(4) comp. If value semantics and scalar they may also be gotten into display sign leading separate host variables
Action: Use signed short for indicator, ref indicator and returned length, ref returned length host variables in C. For COBOL use s9(4) comp. for GETs only with non-arrays and you may use display sign leading separate host variables

请先 登录 后评论

1 个回答

小智
SQL-02156:指示符或返回长度的类型无效,
.原因:与项目指示符或返回长度相关联的主机变量必须为short或s9(4)comp类型。如果价值语义和标量,他们也可能被收录到显示符号领先的单独的主机变量,
.操作:使用带符号短指示符,ref指示符和返回长度,ref返回长度主机变量C.对于COBOL使用s9(4)comp。对于仅使用非数组的GET,您可以使用显示符号引导单独的主机变量,
.
请先 登录 后评论