DB2 Connector error while writing records to DB2 table

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
adasgupta123
Participant
Posts: 42
Joined: Fri Oct 20, 2006 1:58 am

DB2 Connector error while writing records to DB2 table

Post by adasgupta123 »

Hi ,

We have a job which reads data from a dataset and writes to DB2 table.We have used DB2 connector stage.The number of records is bit high ,more than 3000000. The job is running for more than half an hour before it is aborting .Following is error message it is throwing :

Str_Item_Fcst_Parm_DBCon: SQLEndTran(SQL_COMMIT) reported: SQLSTATE = 08007: Native Error Code = -30,081: Msg = [IBM][CLI Driver] SQL30081N A communication error has been detected. Communication protocol being used: "TCP/IP". Communication API being used: "SOCKETS". Location where the error was detected: "172.26.37.34". Communication function detecting the error: "send". Protocol specific error code(s): "104", "*", "0". SQLSTATE=08001 (CC_DB2Connection::commit, file CC_DB2Connection.cpp, line 1,324)

Str_Item_Fcst_Parm_DBCon is the name of the DB2 connector stage.
It seems the connection to DB2 server is lost during the run time of the job.Can you please help me out how we can overcome the problem?


Thanks and Regards

Avik Dasgupta
Post Reply