Problem : Communication link failure. A time-out occurred trying to connect to the iSeries Step

Problem : Communication link failure. A time-out occurred trying to connect to the iSeries Step

I have a SQL Server 2000 DTS package that pushes data to the AS400.  The package runs perfectly when run manually.  When the package is run as a scheduled task on the server, it fails and logs the following error message:

[IBM][iSeries Access ODBC Driver]Communication link failure. comm rc=10060 – CWBCO1048 – A time-out occurred trying to connect to the iSeries

The scheduled tasks runs a batch file that contains the following command line:
DTSRun /S “(local)” /N “TransferD3ContactsToNWO” /G “{3077A925-4CE2-4801-8C97-B1F45F3FDF47}” /L “C:\Documents and Settings\AAKLYNCH\My Documents\Logs\DTS_ErrorsD3ContactsToNWO.txt” /W “0” /E

The batch file is run nightly using a Windows scheduled task.

Any ideas why my connection to the iSeries is timing out.  I am using valid AS400 credentials, and as I mentioned, it runs perfectly when done manually.

Note: The transfer of data does take a few minutes, as it is a lot of data.

Thanks for assistance.


Solution: Communication link failure. A time-out occurred trying to connect to the iSeries Step

You could turn on ODBC logging if the AS400 driver you are using is the AS400 ODBC driver.

Its wierd that its a timeout – that implies that it is connecting OK but can’t push the data in. In not throwing a security error which is where I still suspect the problem is.

Some time ago I worked with the client driver (just extracting data). The only way I could do it was use a seperate IBM utility (.EXE file) to extract data to a text file then pick up the text file from DTS. I could not extract directly using the IBM driver.

Perhaps you could try using the IBM text load utiility (comes with the client tools but I don’t know its name sorry) to experiment with uploading text files. The utility may give you a clearer error message.