Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Calling DB2 sproc from sql server

Author  Topic 

DavidRhodes
Starting Member

40 Posts

Posted - 2006-01-20 : 04:25:47
I have a linked server setup to our DB2 server and am trying to execute a DB2 stored procedure from sql server

SELECT * FROM OPENQUERY(ISERIES, 'call usp_SelectMemberName('''',''123456'')')

I am getting the error

Could not process object 'CALL USP_SELECTMEMBERNAME(' ','123456')'. The OLE DB provider 'IBMDASQL' indicates that the object has no columns.
OLE DB error trace [Non-interface error: OLE DB provider unable to process object, since the object has no columnsProviderName='IBMDASQL', Query=CALL USP_SELECTMEMBERNAME(' ','123456')'].

I've seen this error reported on other forums but no solution has been given, can anyone help?
   

- Advertisement -