Page 1 of 1

ODBC SQL Server Driver Timeout expired error

Posted: Tue Apr 03, 2012 9:14 pm
by samdsx
Hi,

I am using datastage version 7.5.2. There are several jobs in the project that connect to SQL Server database using ODBC stage. Randomly the jobs are failing with the below error. Some of the times the jobs are running absolutely fine but other times they fail with time out error.

"APT_CombinedOperatorController(1),0: Fatal Error: Could not connect to datasource[DataDirect][ODBC SQL Server Driver]Timeout expired"

Our DBAs are not being of much help. Any suggestions on how to avoid this error would be helpful. Appreciate any information.

Thanks!

Re: ODBC SQL Server Driver Timeout expired error

Posted: Tue Apr 03, 2012 9:17 pm
by SURA
It is one of the error we used to get and can't find the route cause of this issue. At the time of failure, check the SQL Server logs, Unix logs etc to find some clue.


Rerun is the workaround we have.

DS User

Posted: Tue Apr 03, 2012 9:36 pm
by ray.wurlod
Sounds like you need one or more of the following:
(a) less load on the machine
(b) less load on the connection(s) to SQL Server
(c) a more powerful server (or two)
(d) faster network
(e) more or dedicated network channels

Posted: Wed Apr 11, 2012 9:15 am
by samdsx
Thanks for the suggestions Ray. The volume of data is less in our case which is less than 100000 records. Are there any options to set the odbc DSN for this connection on datastage server to never timeout? Please let me know.

Re: ODBC SQL Server Driver Timeout expired error

Posted: Wed Apr 11, 2012 9:18 am
by samdsx
So far we also resorted to restarting the jobs.