Troubleshooting
Problem
Datastage ODBC stage jobs intermittently abort with following error message: IBM(Datadirect OEM)[ODBC DB2 Wire Protocol driver]Timeout expired. The job, when resubmitted at a later time, will complete successfully.
Cause
The LoginTimeout connection attribute has been added starting in DataDirect 6.0 drivers.
This attribute has a default value of 15 seconds. If the driver has to wait longer for a connection to be established than the specified number of seconds, the driver will return control to the application and generate a timeout error.
Resolving The Problem
To resolve this issue, you should Increase the value of the LoginTimeout connection attribute in the odbc.ini configuration file. This parameter is specified in seconds.
[SAMPLE]
Driver=/opt/IBM/InformationServer/Server/branded_odbc/lib/VMdb224.so
Description=DataDirect DB2 Wire Protocol Driver
AddStringToCreateTable=
AlternateID=
Database=sample
DynamicSections=100
GrantAuthid=PUBLIC
GrantExecute=1
IpAddress=<hostname>
IsolationLevel=CURSOR_STABILITY
LogonID=
LoginTimeout=120
Password=
Package=
PackageOwner=
TcpPort=<port#>
WithHold=1
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21570280