1 问题现象
应用抛出错误:https://www.cndba.cn/hbhe0316/article/4893
https://www.cndba.cn/hbhe0316/article/4893
https://www.cndba.cn/hbhe0316/article/4893
https://www.cndba.cn/hbhe0316/article/4893
com.ibm.db2.jcc.am.SqlDataException: [jcc][10275][12043][3.62.56] ccsid、编码或语言环境不受支持:”GBK”。ERRORCODE=-4420,SQLSTATE=-22021
2 问题诊断
该问题为DB2 LOB字段大小受限问题。https://www.cndba.cn/hbhe0316/article/4893https://www.cndba.cn/hbhe0316/article/4893
3 恢复步骤https://www.cndba.cn/hbhe0316/article/4893
https://www.cndba.cn/hbhe0316/article/4893
https://www.cndba.cn/hbhe0316/article/4893
https://www.cndba.cn/hbhe0316/article/4893
su - <instancename>
db2set DB2_RESTRICT_DDF=TRUE
db2 deactivate db <dbname>
db2stop force
db2start
db2 activate db <dbname>
版权声明:本文为博主原创文章,未经博主允许不得转载。
DB2