Analysis Assistant

Analysis Assistant is a natural language chat window embedded within the IDE to answer queries about a remote workspace in an Enterprise Analyzer or COBOL Analyzer repository. It can respond to queries, open Complexity Reports, Program Flow Graphs and source files. Other file types such as PL/I, JCL and BMS are also supported. You can type in your query or choose from a list of suggestions.

Note: Analysis Assistant requires a connection to an Enterprise Analyzer or COBOL Analyzer repository.

Open Analysis Assistant

If the Analysis Server Explorer view is not visible, do the following:

  1. Click Window > Perspective > Show View > Other.
  2. In the Show View window, click Analysis Server Explorer.

To open the Analysis Assistant chat window:

  1. In Analysis Server Explorer expand your Enterprise Analyzer or COBOL Analyzer server to view the available workspaces.
  2. Right-click your chosen workspace and select Open Analysis Assistant.

    This opens the Analysis Assistant chat window in the IDE.

  3. Type your question in the text box or select from the suggested queries.

Queries to ask

When presenting your query, ensure that you use clear and concise language so that you receive the best results from Analysis Assistant. The types of queries supported include:

  • Ask basic information about a file or data item.

    For example, you can ask What is "Program1.cbl"?.

  • Ask what files or programs are referenced by a particular file.

    For example, What does "Program1.cbl" reference?. Alternatively, you can reverse the question by asking What references "Program1.cbl"?.

  • Find potential code issues.

    For example, Are there any code quality problems with "Program1.cbl"?.

  • View the program control flow for a program.

    For example, Show the program flow for "Program1.cbl".

  • Generate a complexity report for a program.

    For example, Show the complexity report for "Program1.cbl".

Some tips for writing queries:

  • Press CTRL + SPACE when typing a file name to receive a list of possible file suggestions to complete the query.
  • Place file names inside quotation marks. For example, type "Program1.cbl".
  • Ensure that you capitalize all file names correctly.
  • Minimize spelling mistakes in your query.
  • Type Help in the chat window to receive a summary of how to use the chat window.