COBOL PIC X(32768) or Larger Causes an Error (183181)
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 Q183181 SYMPTOMS
When a string parameter is declared so that the COBOL length is greater
than PIC X(32767) (which is 32,767 bytes), various problems can occur and
you may see one of the following symptoms:
Out of Memory Error is returned to the Visual Basic program
Component Builder shows a COBOL data type that is extremely large
CAUSE
The Component Builder parses the COBOL using a short integer to read the
size of strings and FILLER. Thus, any size greater than 32,767 bytes will
produce erroneous results. As an example, any host data element that has a
size greater than 32,767 bytes is imported with the wrong size specified in
the COBOL Data Type property for that parameter.
WORKAROUND
This is only a problem when importing COBOL. It does not occur when
manually describing an interface. To work around the problem, import the
COBOL, identify the size fields that are larger than 32,767 bytes, and
manually change the string or FILLER size.
STATUS
Microsoft has confirmed this to be a problem in Microsoft COM Transaction
Integrator for CICS and IMS version 1.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/18/2004 |
---|
Keywords: | kbbug kbfix KB183181 |
---|
|