免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8365 | 回复: 8
打印 上一主题 下一主题

sqlcode为33620275的错误问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-07-06 09:48 |只看该作者 |倒序浏览
请问各位大侠,我在sybase 12.5下的一个sql语句中出现这样的错误,请问是怎么回事,急啊;
sqlca.sqlcode=[-33620275][cs_objects: cslib
user api layer: external error: ZZZZZ cs_objects: error performing requested op
eration.]

论坛徽章:
0
2 [报告]
发表于 2005-07-06 10:33 |只看该作者

sqlcode为33620275的错误问题

we may consider the possibility of an array overflow or a bad pointer in the application, which might have corrupted an Open Client object structure

阵列溢出或指针应用错

论坛徽章:
0
3 [报告]
发表于 2005-07-06 10:53 |只看该作者

sqlcode为33620275的错误问题

太谢谢了

论坛徽章:
0
4 [报告]
发表于 2005-07-06 10:58 |只看该作者

sqlcode为33620275的错误问题

可是我的SQL语句是select count(*) int :nNum from RFT where ...
这么一句话,怎么会影响到指针什么的呢

论坛徽章:
0
5 [报告]
发表于 2005-07-06 12:14 |只看该作者

sqlcode为33620275的错误问题

楼上的应该是select count(*) into :nNum from RFT where ... 吧! 你的那个nNum变量定义为什么类型呢? count(*) 是多少?

论坛徽章:
0
6 [报告]
发表于 2005-07-06 12:49 |只看该作者

sqlcode为33620275的错误问题

int 类型的,nNum初始为0,出错后还是0,没变

论坛徽章:
0
7 [报告]
发表于 2005-07-06 15:34 |只看该作者

sqlcode为33620275的错误问题

我们可以通过sqlcode=-33620275得到以下错误信息:
"cslib user api layer"
"external error"
CS_SV_API_FAIL (A Client-Library routine generated an error. Typically
caused by a bad parameter or calling sequence.)
"%1! cs_objects: error performing requested operation."
产生这个错误的原因,可能有:
1、the process can't access the required
$SYBASE/locales/language_name/charset_name/*.loc files, the error occurs.If
your not sure you have all the *.loc files, then reinstall product.

2、environment variables aren't set right

3、the LANG variable is set to a charset which is not in locales.dat

Best Regards ,

论坛徽章:
0
8 [报告]
发表于 2005-07-10 12:49 |只看该作者

sqlcode为33620275的错误问题

问题已解决,一个低级错误,数据库连接已经关闭造成的

论坛徽章:
0
9 [报告]
发表于 2007-10-11 19:27 |只看该作者

UNIX SYBASE 报错,急!急!急!

在HP UNIX下连接SYBASE数据库报错:
[-33620230][cs_objects: cslib user api layer: external error: An illegal value of 0 was given for parameter objname->fnlen.]
请问这是什么错呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP