Rational Developer for System z

Generating and saving reports

This topic describes how to generate reports from the Software Analysis Results view.
Note: If you want to export result information into other data formats see Exporting results in XML and CSV formats.

The importance of saving reports

To keep a report for future use, save it to the file system before closing it. A good technique is to generate a report in PDF format and save it to the file system immediately. Also, if you choose HTML format, most browser versions allow you to save a report to the file system, if the browser that is linked with Developer for System z® is configured as an external browser.

When you close a report, you cannot reopen that instance of it. However, you can quickly regenerate another instance of the report from its analysis history, so long as the history has not been lost or deleted.

Developer for System z preserves histories so long as it remains open. Accumulated histories are lost when Developer for System z closes.

Creating a general analysis report

A general analysis report is an HTML or PDF document showing all the results of an analysis history in an orderly text format. The types of general analysis report are COBOL Code Review and PL/I Code Review. To creating this type of report:

  1. In the left pane of the Software Analysis Results view, select an analysis history. The results from the history are displayed in the right pane.
  2. In right pane, on the toolbar, click Generate a report for the current selection Generate a report for the current selection
  3. The Software Analyzer Reporting window opens. In this window:
    1. Select a report, COBOL Code Review or PL/I Code Review
    2. Select a report type, either HTML report or PDF report.
    3. Click OK.

The report is generated.

Saving a PDF report to the file system

To save a PDF report to the file system:
  1. Generate the report in PDF format. The report is displayed in Adobe Reader.
  2. In Adobe Reader, save the file to the file system by clicking File > Save As.

Saving an HTML report to the file system

The method for saving an HTML report to the file system depends on whether the browser is configured as internal or external.
Tip: To configure the browser as external or internal go to Window > Preferences > General > Web Browser. The default setting is internal.
External browser: To save an HTML report with the external browser:
  1. Generate the report in HTML format. The report is displayed in the browser.
  2. Use the method provided by the browser, such as clicking File > Save, to save the report to the file system.
Note: Even though you configure the browser as external, the HTML report might still be displayed in the inner browser. Success depends on the brand and version of the browser and on the runtime environment. If this problem occurs use the internal browser method.
Internal browser: The browser commands for copying the current HTML page to the file system do not work in the internal browser. Therefore saving the report from the internal browser requires you to copy and paste the text:
  1. Right-click on the text area of the browser and click Select all.
  2. Right-click again and click Copy.
  3. Paste the contents into an editor or word-processing program and save the text to the file system.


Feedback