Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

AN-7 — Unable to parse any file.

This error is produced when Kiuwan could not analyze analyze any source file in the application source code.

As Kiuwan (either by Kiuwan Local Analyzer or by uploading source files zip to the cloud) tries to parse the source files before to analyze them, all of them failed during the parsing phase.

This is quite an unsual situation.

Below you can find some of the most common reasons:

  • If the analysis contains only one file (or very few files) the whole analysis fails , see the possible reasons below but try to analyze a bigger application.
  • There are syntax errors in source files
    • Source code might not be conformant to language grammar. Please review the source code and run the analysis again.
  • The encoding used for the analysis is not correct
  • In cases where files can be processed by different engines (for example, .sql files can be processed by several engines: PL-SQL, Informix, Transact-SQL), a wrong engine was selected.
    • Action: please select the proper engine and run the analysis again
  • If you are analyzing Cobol, please be sure that Cobol files belong to one of the supported dialects.
    • Currently, Cobol versions supported by Kiuwan are Cobol85, OS/VS Cobol II, Enterprise Cobol for z/OS v3.4, ILE Cobol 5, MicroFocus Cobol and Cobol Tandem. If the code belongs to another Cobol dialect, please let us know it so we contact our product department to check the roadmap for it.
    • If your Cobol code belongs to supported Cobol dialects, please configure properly the cobol analysis. You can modify processing options such as to allow free format cobol or first columns comments. You can do it in Kiuwan Local Analyzer by clicking on Configure button and selecting Cobol block configuration option.
  • If you are analyzing C/C++, a common reason of analysis errors is an incorrect resolution of header files and macros during preprocessing phase.

 

If none of these actions solves the problem, please contact Kiuwan Technical Support

file in the application source code ZIP. A new support ticket is issued automatically to diagnose the problem with those files.Please, visit Troubleshooting#AN-7Unabletoparseanyfile to find causes of this error and actions to solve it.

AN-8 — Unable to get access to source file.

...