Microsoft KB Archive/898449

From BetaArchive Wiki
Knowledge Base


Article ID: 898449

Article Last Modified on 12/4/2007



APPLIES TO

  • Microsoft Host Integration Server 2004 Standard Edition




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.

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.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

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 name File version File size Date Time
Db2oledb.dll 6.0.1952.0 487,424 13-May-2005 23:34
Db2oledb.h Not Applicable 24,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.

STATUS

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

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



Additional query words: OLEDB2 V5R2

Keywords: kbbug kbfix kbqfe kbpubtypekc kbhotfixserver kbhis2004 kbdb2oledb KB898449