Design Studio 数据流

使用Design Studio设计了一个数据流,从Oracle把数据导入DB2,执行起来却报如下错误:

DBWSQWR 2008-11-28 10:13:56 ERROR  - JDBCLoad: Batch operation exception. Operation failed on the 262816th statement. 262000 rows were inserted/updated. SQL state = null; error code = -4228; error Message = [jcc][t4][102][10040][3.50.152] 非自动批处理出现故障。虽然已经提交了批处理,但是该批处理的某个成员至少发生了一个异常。

使用 getNextException() 来检索已经过批处理的特定元素的异常。 ERRORCODE=-4228, SQLSTATE=null

DBWSQWR 2008-11-28 10:13:56 ERROR  - JDBCLoad: SQL Exception. SQL state = 22001; error code = -302; error Message = Error for batch element #816: DB2 SQL Error: SQLCODE=-302, SQLSTATE=22001, SQLERRMC=null, DRIVER=3.50.152

DBWSQWR 2008-11-28 10:13:56 ERROR  - JDBCInsert: Exception: Batch operation exception. Operation failed on the 262816th statement. 262000 rows were inserted/updated. SQL state = null; error code = -4228; error Message = [jcc][t4][102][10040][3.50.152] 非自动批处理出现故障。虽然已经提交了批处理,但是该批处理的某个成员至少发生了一个异常。

使用 getNextException() 来检索已经过批处理的特定元素的异常。 ERRORCODE=-4228, SQLSTATE=null ( no localized message ) 

DBWSQWR 2008-11-28 10:13:56 ERROR  - SQW03563E: 未能执行 Java 类 com.ibm.datatools.etl.dataflow.baselib.runtimeunits.JDBCInsert。异常:Batch operation exception. Operation failed on the 262816th statement. 262000 rows were inserted/updated. SQL state = null; error code = -4228; error Message = [jcc][t4][102][10040][3.50.152] 非自动批处理出现故障。虽然已经提交了批处理,但是该批处理的某个成员至少发生了一个异常。

使用 getNextException() 来检索已经过批处理的特定元素的异常。 ERRORCODE=-4228, SQLSTATE=null ( no localized message ) 

但是把设定导入数据条数小于262816行的时候却执行成功,不知道是哪的问题!郁闷,给IBM打电话又没有人接,这个问题该如何解决呢?
--
http://www.cqun.com

3 comments:

Anonymous said...

楼主解决问题了吗?我也遇到同样的问题,想请教一下如何解决的?QQ:290018813

Anonymous said...

问题解决了,用表源代替sql查询源就可以了

Anonymous said...

e也偶到此错误了

Post a Comment