dbTalk Databases Forums  

Problem while accessing DB2 Database from SQL Server

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Problem while accessing DB2 Database from SQL Server in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
HPS
 
Posts: n/a

Default Problem while accessing DB2 Database from SQL Server - 01-22-2004 , 09:11 AM






We are trying to access some AS400/DB2 tables using Link-Server o
SQL-Server 2003. The actual query is part of a DTS package. For accessin
the tables 'DB2OLEDB' driver is used, this driver is available as part o
the Host Integration Server - 2000.

Following are the versions of all the drivers etc

SQLServer - 2003, SP
HIS (Host Integration Server) - 2000, SP

The query returns the following error sometimes
OnError(DTSStep_DTSExecuteSQLTask_1, -2147217900, Microsoft OLE D
Provider for SQL Server, OLE DB provider 'DB2OLEDB' returned a
unexpected data length for the fixed-length column '[DB2OLEDB].V7PATC'
The expected data length is 1, while the returned data length is 0.,
0

According to Microsoft KB Article - 277871
(http://support.microsoft.com/default...;EN-US;277871), the issu
has been resolved as part of SNA Server 4.0, SP4.

But the problem persist with HIS-2000 SP1.

We would appreciate a resolution of the above issue from your side

Thank
HP


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.