Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 240104 - Last Review: March 26, 2004 - Revision: 1.1
BUG: Schema Calls to DB2 on OS/400 V4R4 Cause 100% CPU Spin
This article was previously published under Q240104
When calls to retrieve schema information from DB2 on the OS/400 V4R4 are issued with IDBSchemaRowset using the Microsoft OLE DB Provider for DB2 or with SQLTables using the Microsoft ODBC Driver for DB2, 100 percent CPU utilization occurs for that process.
To work around this problem, do the following:
- Obtain PTF SF99104 from IBM and apply it to the OS/400 V4R4.
- Re-create the packages by checking the Replace existing package option in the CRTPKGW utility. For more information on creating packages using this utility, see the following article in the Microsoft Knowledge Base:
216810Â
(http://kbalertz.com/Feedback.aspx?kbNumber=216810/EN-US/
)
Creating Packages for Use with ODBC Driver for DB2 and OLE DB Provider for DB2
Microsoft has confirmed this to be a problem in Microsoft SNA Server version 4.0 Service Pack 3.
If the problem continues after you apply the PTF and replace the existing packages, it is recommended that you create a new collection and packages in that collection, and use that collection and packages to issue the schema calls.
Note: If the provider or driver uses an existing collection and packages, the 100-percent CPU spin and an Access Violation error in DB2Serv.exe may still occur even after you apply the PTF.
APPLIES TO
- Microsoft OLE DB Provider for DB2
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please