Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: You may receive incorrect or incomplete data when you use the OLE DB Provider for DB2 in Host Integration Server 2004 after you upgrade to AS/400 Version 5 Release 3


View products that this article applies to.

Symptoms

After you upgrade to IBM AS/400 Version 5 Release 3, you may receive incorrect or incomplete data from the AS/400 when you use the Microsoft OLE DB Provider for DB2 in Microsoft Host Integration Server 2004.

↑ Back to the top


Cause

The Distributed Relational Database Architecture (DRDA) code point parameter MAXBLKEXT specifies that the host should only respond with one Query Answer Set Data (QRYDTA) if the value of the MAXBLKEXT parameter is 0 on a client.

Note MAXBLKEXT is also referred to as Max Block Extra.

The problem occurs because the host is responding with two QRYDTA blocks. This response causes the data to be incorrect or incomplete.

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Host Integration Server 2004 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
File nameFile versionFile sizeDateTime
Db2oledb.dll 6.0.1952.0 487,424 13-May-2005 23:34
Db2oledb.hNot Applicable24,516 13-May-2005 23:39
Ddmstr.dll 6.0.1952.0 44,032 13-May-2005 23:34
Drdaresync.exe 6.0.1952.0 336,384 13-May-2005 23:35
Microsoft.hostintegration.msdb2client.dll 6.0.1952.0 114,688 13-May-2005 23:34
Mseidb2c.dll 6.0.1952.0 71,680 13-May-2005 23:34
Mseidb2d.dll 6.0.1952.0 435,200 13-May-2005 23:34
Mseidrda.dll 6.0.1952.0 692,736 13-May-2005 23:35
Note Because of file dependencies, the most recent hotfix that contains these files may contain additional files.

Additionally, IBM has released a fix for this issue. For more information about the IBM fix, see the following IBM Web site: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

Typically, when a query returns a large result, the following sequence of the DRDA/DDM code points is used.
1.Send:PRPSQLSTT (Prepare SQL Statement)
SQLSTT (The SQL Statement)
2.Receive:SQLDARD (Column Early Metadata)
3.Send:OPNQRY (Open Query)
4.Receive:OPNQRYRM (Open Query Reply message)
QRYDSC (Column Late Metadata)
QRYDTA (First block of result set data)
5.Send:CNTQRY (Continue Query)
6.Receive:QRYDTA (Another block of result set data)
7.Send:CNTQRY (Continue Query)
8.Receive:QRYDTA (Another block of result set data)
In the problem that is described in the "Symptoms" section, a deviation occurs that starts at step 5.
5.Send:CNTQRY (Continue Query)
6.Receive:QRYDTA (Another block of result set data)
QRYDTA (Another block of result set data)
7.Send:CNTQRY (Continue Query)
8.Receive:QRYDTA (Another block of result set data)
QRYDTA (Another block of result set data)
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: KB898449, kbpubtypekc, kbhotfixserver, kbbug, kbfix, kbhis2004, kbdb2oledb, kbqfe, kbhotfixserver

↑ Back to the top

Article Info
Article ID : 898449
Revision : 3
Created on : 7/25/2006
Published on : 7/25/2006
Exists online : False
Views : 395