Microsoft KB Archive/233852

= Import COBOL Wizard Inappropriately Flags COBOL Syntax Error; Import Cannot Be Completed =

Article ID: 233852

Article Last Modified on 3/25/2004

-

APPLIES TO


 * Microsoft COM Transaction Integrator for CICS and IMS 4.0 SP2

-



This article was previously published under Q233852



SYMPTOMS
The following error message is displayed by the Import COBOL Wizard feature of COM Transaction Integrator for CICS and IMS:

Invalid COBOL syntax was found at the beginning of the file. This file may not contain any COBOL.



CAUSE
In this case, the COBOL source code contains a COBOL 'DATA DIVISION.' statement that is preceeded by a row of asterisks with the first asterisk being in column 7, as shown below:      ***************************************************************** The line of asterisks beginning in column 7 is a legal COBOL statement. (Whenever an asterisk is placed in column 7, the COBOL compiler treats the line as a comment.)



WORKAROUND
Edit the COBOL source code to remove the line of asterisks. Then rerun the Import COBOL Wizard.



STATUS
Microsoft has confirmed that this is a problem in Microsoft SNA Server version 4.0.

Keywords: kbbug kbnofix KB233852

-

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

© Microsoft Corporation. All rights reserved.