COMTI/OTMA error occurs after application returns unbounded recordset in a single send (313137)



The information in this article applies to:

  • Microsoft Host Integration Server 2000

This article was previously published under Q313137

SYMPTOMS

When a mainframe host application returns a recordset that contains multiple records to a COM Transaction Integrator (COMTI) component that is connected through TCP/IP to an IBM Information Management System (IMS) region on a mainframe that uses IBM Open Transaction Management Architecture (OTMA) or IBM IMS Connect, the following COMTI 102 event may be logged in the Application Event Log:
Description: (102) COM Transaction Integrator reported the following exception to the client:
Component: (Prog ID of Component)
Method: (Method Name)

Exception description:
(2135) The TCP transport detected that the socket was closed but has not received the Complete-Status Message segment. Therefore, the outcome of the IMS transaction is in an unknown state. IP Address: (IP of Host), port: (port number), transid: (Trans ID).

CAUSE

The host application sends all rows of the unbounded record set within a single IMS Insert command (ISRT), and this causes COMTI to return the error message. If the host application sends an individual ISRT command for each row of the unbounded recordset, no problem occurs.

RESOLUTION

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

328152 How to Obtain the Latest Host Integration Server 2000 Service Pack

The English version of this fix should have the following file attributes or later:

File nameDateTime
Trantcp.dll19-JUN-200112:00 midnight

NOTE: Because of file dependencies, the most recent fix that contains the preceding files may also contain additional files.

WORKAROUND

To work around this problem, revise the program on the host so that it uses individual ISRT statements to send each row of the unbounded recordset.

STATUS

Microsoft has confirmed that this is a problem in Host Integration Server 2000. This problem was first corrected in Host Integration Server 2000 Service Pack 1.

MORE INFORMATION

A Network Monitor (NetMon) trace of the failed transaction shows the Extended Binary Coded Decimal Interchange Code (EBCDIC) data that was returned from the host application. The last 8 bytes of data are "*CSMOKY*". In EBCDIC characters, these are as follows:

5C C3 E2 D4 D6 D2 E8 5C

This data is the "Complete-Status Message segment" that the error message reports as missing.

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Modification Type:MinorLast Reviewed:4/27/2005
Keywords:kbbug kbfix kbHostIntegServ2000preSP1fix kbHostIntegServ2000SP1fix KB313137 kbAudDeveloper