Microsoft KB Archive/189426

= Runtime Error 1225 When Return Value Is a Recordset =

Article ID: 189426

Article Last Modified on 3/23/2004

-

APPLIES TO


 * Microsoft COM Transaction Integrator for CICS and IMS 1.0, when used with:
 * Microsoft SNA Server 4.0

-



This article was previously published under Q189426



SYMPTOMS
This problem occurs when you are using a CICS (non-link) Remote Environment. It occurs under the following circumstances:


 * 1) A COMTI method is declared where the return value is an ADO recordset.
 * 2) In the Advanced properties of the method, the return value is

repositioned, that is, away from the default position, which is . In COBOL terms, this means that the return value is a data item that is NOT first in the set of items in the COBOL declaration.

When the method is invoked, runtime error 1225 is indicated:

"COM Transaction Integrator did not receive a data-complete indication from the Remote Environment following the expected reply data. Contact the host application programmer. If no changes were made to the host server program that had been operating correctly, contact Microsoft customer support."

The mainframe program sends the correct amount of data in the LU6.2 message and the SNA Server "End Bracket" indicator is set properly.



CAUSE
COMTI does not correctly handle methods in which the return value is not positioned first in the set of COBOL declarations. It always processes the return value first, regardless. Thus, the ODO parameter that the return value is dependent upon is not available at the time the parameter is referenced, causing the above test to fail.



STATUS
Microsoft has confirmed this to be a problem in COM Transaction Integrator for CICS and IMS version 1.0.

Keywords: kbbug kbnofix KB189426

-

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

© Microsoft Corporation. All rights reserved.