Microsoft KB Archive/814978

= COMTI Data Conversion Does Not Succeed When There Are Four or More Nested UDTs =

Article ID: 814978

Article Last Modified on 2/21/2007

-

APPLIES TO


 * Microsoft Host Integration Server 2000 Standard Edition

-



SYMPTOMS
When an application calls a COM Transaction Integrator (COMTI) method that returns a user-defined type structure (UDT) that is four or more nested UDTs deep, and the COMTI method uses OCCURS Depending On to return a variable number of UDTs, COMTI may return the following error message to the calling application:

(1562) Parameter  in method  contained an invalid zoned decimal value. Check the mainframe server program. If it is correct, verify that the correct COMTI-created component library is deployed.

An event 102 is logged in the Application event log. Other conversion errors may occur, depending on the structure of the UDTs.



CAUSE
COMTI incorrectly calculates the size of the OCCURS Depending On arrays when the UDT nesting is too complex. This incorrect calculation leads to data conversion failures later in the processing. Data conversion fails because COMTI is looking at the wrong area of the host data for conversion, and the data no longer matches what is defined in the COMTI type library.



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

328152 How to obtain the latest service pack for Host Integration Server 2000

Hotfix information
The global 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 tool in Control Panel.   Date         Time   Version      Size    File name --  28-Feb-2003 12:39  5.0.0.900   147,728  Convert.dll NOTE: Because of file dependencies, the most recent fix that contains the preceding files may also contain additional files.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

This problem was corrected in Microsoft Host Integration Server 2000 Service Pack 2.

Keywords: kbqfe kbhostintegserv2000sp2fix kbhostintegserv2000presp2fix kbfix kbbug KB814978

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.