Generated COBOL Will Not Compile (177011)
The information in this article applies to:
- Microsoft COM Transaction Integrator for CICS and IMS 1.0
This article was previously published under Q177011 SYMPTOMS
When you use the Component Builder (CB) to create a component library
(.tlb) file manually (this is, without using the Import COBOL Wizard), you
can define a method with parameters in an order that prevents COBOL
generated by the CB COBOL Export facility from compiling properly.
If there are two or more parameters that are arrays whose actual counts
depend on the value of other parameters, those actual count parameters must
appear before the first array.
RESOLUTION
The solution to this problem is to use CB to arrange the parameters in the
following order
COUNT1
COUNT2
ARRAY1
ARRAY2
and then regenerate the COBOL using the COBOL Export facility.
| Modification Type: | Major | Last Reviewed: | 4/5/2000 |
|---|
| Keywords: | kberrmsg kbprb kbprogramming KB177011 |
|---|
|