Microsoft KB Archive/238903

= COBOL Wizard Specifies Variable as the Return Value but the Variable Is Made an [output] Parameter =

Article ID: 238903

Article Last Modified on 3/12/2004

-

APPLIES TO


 * Microsoft COM Transaction Integrator for CICS and IMS 4.0 SP2
 * Microsoft SNA Server 4.0 Service Pack 2
 * Microsoft SNA Server 4.0 Service Pack 3

-



This article was previously published under Q238903



SYMPTOMS
The COM Transaction Integrator for CICS and IMS (COMTI) Component Builder is used to create a new component library by importing a COBOL program using the Import COBOL Wizard. After completion, the variable selected to be the return value appears, as an [output] parameter.



CAUSE
The means of producing this error is fairly complex. At the point where the wizard asks you to click Finish the operation, instead follow these steps:
 * 1) Click Back
 * 2) Click Back again.
 * 3) Click Next.
 * 4) Click Finish.



WORKAROUND
One workaround is to redo the Import COBOL Wizard operation, avoiding the sequence specified under the CAUSE section.

A second workaround is to manually correct the component's declarations using Component Builder.
 * 1) Right-click the method in the left pane and click Unlock.
 * 2) In the right pane, select and delete the inconsistent parameter.
 * 3) Right-click the method in the left pane and click Properties
 * 4) Specify the correct return value using the Properties dialog box.



STATUS
Microsoft has confirmed that this is a problem in Microsoft SNA Server version 4.0 Service Pack 2 and Microsoft SNA Server version 4.0 Service Pack 3.

Keywords: kbbug kbnofix KB238903

-

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

© Microsoft Corporation. All rights reserved.