Establish DB2 Connection in runtime
Posted: Tue Mar 27, 2012 12:06 am
Hi All,
My job design is as follows.
DB2 Connector (fetch from DB2 table) ----> Aggregator ----> DB2 Connector ( to load Mainframe table).
The problem i am facing here is the below error
SQLExecute reported: SQLSTATE = 08506: Native Error Code = -30,108: Msg = [IBM][CLI Driver][DB2] SQL30108N A connection failed but has been re-established.
The reason being, the idle timeout. For eg, here im fetching 2 million records which takes around 2 minutes. And the idle timeout in the traget DB2 connection is 1 minute. Hence when the data propagetes to target the connection is getting lost.
So, i would like to know if we could establish db2 connection in the target after the whole data is fetched from the source ?
Thanks.
PS : Admins, please correct me if my post is not as per the standards set.
My job design is as follows.
DB2 Connector (fetch from DB2 table) ----> Aggregator ----> DB2 Connector ( to load Mainframe table).
The problem i am facing here is the below error
SQLExecute reported: SQLSTATE = 08506: Native Error Code = -30,108: Msg = [IBM][CLI Driver][DB2] SQL30108N A connection failed but has been re-established.
The reason being, the idle timeout. For eg, here im fetching 2 million records which takes around 2 minutes. And the idle timeout in the traget DB2 connection is 1 minute. Hence when the data propagetes to target the connection is getting lost.
So, i would like to know if we could establish db2 connection in the target after the whole data is fetched from the source ?
Thanks.
PS : Admins, please correct me if my post is not as per the standards set.