Size Of Dynamic Output Array Always Set to Maximum (183555)
The information in this article applies to:
- Microsoft COM Transaction Integrator for CICS and IMS 1.0, when used with:
This article was previously published under Q183555 SYMPTOMS
When a Visual Basic programmer uses the UBound function to obtain a count
of the actual number of elements returned in an array, the result always
indicates the maximum possible value, even though fewer elements may
actually have been returned in the first (or only) array dimension.
CAUSE
The COM Transaction Integrator creates the safe array that is returned to
the Visual Basic program. The dimension(s) of the returned array will
always be set to the maximum, because the COMTI runtime component has no
means of determining the actual number of elements returned without
incurring excessive processing overhead.
STATUS
Microsoft has confirmed this to be a problem in Microsoft COM Transaction
Integrator for CICS and IMS version 1.0 included with SNA Server version
4.0.
This problem was corrected in the latest SNA Server version 4.0 U.S.
Service Pack. For information on obtaining this Service Pack, query on
the following word in the Microsoft Knowledge Base (without the spaces):
Modification Type: | Minor | Last Reviewed: | 3/10/2004 |
---|
Keywords: | kbbug kbfix KB183555 |
---|
|