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.

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


View products that this article applies to.

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 <Parameter Name> in method <MethodName> 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.

↑ Back to the top


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.

↑ Back to the top


Resolution

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.

↑ 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.

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

↑ Back to the top


Keywords: KB814978, kbbug, kbfix, kbhostintegserv2000presp2fix, kbhostintegserv2000sp2fix, kbqfe

↑ Back to the top

Article Info
Article ID : 814978
Revision : 3
Created on : 2/21/2007
Published on : 2/21/2007
Exists online : False
Views : 382