: MIDRANGE dot COM Mailing List Archive

AS400 Linked Server - Error when performing UPDATE


AddThis Feed Button


Hi,
I've got my AS400 setup as a linker server to my SQL Server 2005.

When I run a "simple" update (I am updating a char field), I get this error:

*OLE DB provider "MSDASQL" for linked server "AS400 HSGLIB" returned message
"Unspecified error".*

*OLE DB provider "MSDASQL" for linked server "AS400 HSGLIB" returned message
"[IBM][System i Access ODBC Driver][DB2 for i5/OS]SQL0440 - Routine
SQLSTATISTICS in SYSIBM not found with specified parameters.".*

*Msg 7311, Level 16, State 2, Line 1*

*Cannot obtain the schema rowset "DBSCHEMA_INDEXES" for OLE DB provider
"MSDASQL" for linked server "AS400 HSGLIB". The provider supports the
interface, but returns a failure code when it is used.*

Does anyone know what causes this error or what the workaround is?

TIA,

Dave





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2010 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact