This topic describes how to generate reports from the Software
Analysis Results view.
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:
- 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.
- In right pane, on the toolbar, click Generate a report
for the current selection
- The Software Analyzer Reporting window opens. In this window:
- Select a report, COBOL Code Review or PL/I
Code Review
- Select a report type, either HTML report or PDF
report.
- Click OK.
The report is generated.
Saving a PDF report to the
file system
To save a PDF report to the file system:
- Generate the report in PDF format. The report is displayed in Adobe Reader.
- In Adobe Reader, save the
file to the file system by clicking .
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 . The default setting is internal.
External
browser: To save an HTML report with the external browser:
- Generate the report in HTML format. The report is displayed in
the browser.
- Use the method provided by the browser, such as clicking ,
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:
- Right-click on the text area of the browser and click Select
all.
- Right-click again and click Copy.
- Paste the contents into an editor or word-processing program and
save the text to the file system.