Microsoft KB Archive/308652

From BetaArchive Wiki
Knowledge Base


IDBSchemaRowset::GetSchema Fails to Return List of Rowsets

Article ID: 308652

Article Last Modified on 2/22/2007



APPLIES TO

  • Microsoft Host Integration Server 2000 Standard Edition



This article was previously published under Q308652

SYMPTOMS

When an application that is using the Microsoft OLE DB Provider for DB2 or Microsoft ODBC Driver for DB2 calls the GetSchemaRowset command to retrieve a list of stored procedures from a host system that is running DB2 UDB for OS/390 version 6.1, no stored procedures will be listed. The GetSchemaRowset command works properly when run against DB2 UDB for OS/390 version 5.1 systems, but not 6.1.

CAUSE

DB2 UDB for OS/390 version 5.1 and earlier defined stored procedures by using the SYSIBM.SYSPROCEDURES table. In DB2 UDB for OS/390 version 6.1, stored procedures are defined in the SYSIBM.SYSROUTINES and SYSIBM.SYSPARMS tables. The Microsoft OLEDB Provider for DB2 and Microsoft ODBC Driver for DB2 are not aware of this difference and continue to check the SYSIBM.SYSPROCEDURES table when they access host systems that are running DB2 UDB for OS/390 version 6.1.

RESOLUTION

To resolve this problem, obtain the latest service pack for Host Integration Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

328152 How to Obtain the Latest Host Integration Server 2000 Service Pack


STATUS

Microsoft has confirmed that this is a problem in Host Integration Server 2000. This problem was first corrected in Host Integration Server 2000 Service Pack 1.


Additional query words: HIS 2000

Keywords: kbbug kbfix kbhostintegserv2000presp1fix kbhostintegserv2000sp1fix KB308652