ODBC DSN in odbc.ini

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
samdsx
Premium Member
Premium Member
Posts: 19
Joined: Wed Aug 18, 2010 8:48 pm

ODBC DSN in odbc.ini

Post by samdsx »

While creating a new SQL Server DSN in .odbc.ini, is it possible to add the below parameter to it? This is an effort to see if the ODBC SQL Server timeout never happens if this is possible. The datadirect version that is considered in this case is Data Direct 6.0.

LoginTimeout=0

Thanks!
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Yes, you can add it. That setting is for the number of seconds the driver will wait to establish the database connection. The default is 15 seconds. It does not have anything to do with individual SQL statements timing out during an already established connection.
Choose a job you love, and you will never have to work a day in your life. - Confucius
samdsx
Premium Member
Premium Member
Posts: 19
Joined: Wed Aug 18, 2010 8:48 pm

Post by samdsx »

Can this be added to odbc.ini when datadirect 5.0 is used too? Please let me know.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

You would have to search in the DataDirect ODBC User's Guide for that release to find out for sure.

The PDF files should be available under the branded_odbc directory structure. Binary FTP them to your PC to review.
Choose a job you love, and you will never have to work a day in your life. - Confucius
Post Reply