db2 connector加载数据时报SQL1476N

在开发环境上运行程序正常,但是测试环境时报错

Message: DB2_Connector_0,1: [Input link 0] SQLExecute reported: SQLSTATE = 40506: Native
Error Code = -1,476: Msg = [IBM][CLI Driver][DB2/LINUXX8664] SQL1476N The current
transaction was rolled back because of error "-911". SQLSTATE=40506


官网上给出了下面两种解决方法,第一种方法改了之后仍然报错,第二种方法修改后成功

To resolve the issue in DataStage DB2 Connector set 'Auto commit mode' to 'On': (DB2 Connector > Properties > Auto commit mode = On )

Alternatively the issue can be resolved on DB2 side by:
– increasing the locklist size:
update db cfg using LOCKLIST <value>
– increasing percent of lock lists per an application:
update db cfg using MAXLOCKS <value>


  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值